The older people get, the more of a gap there's room for. A 24 year old doesn't need to be dating a teenager. But a person who is in their 50s can be more compatible with someone in their mid 30s.
It's not an absolute. If two people are not compatible and don't have anything in common, they shouldn't be dating. If they're adults, they can handle figuring that out on their own.