That's true to some extent but has nothing to do with "resume gaps".
It's perfectly fine to have gaps and "live a little" or even a lot, but it's also perfectly fine to prefer people who you believe will provide more value to your company.
There are infinite reasons why someone might take time off. Its arguably far more responsible to do so than continue employment and lower the priority of employment obligations in your life while you tend to other aspects.