Why do have notion of “all men are the same”?

You might as well say that about women but please I don’t mean any offense. Not all men are the same when we say “men” we are grouping all men you might as well say man because not all men are the same and it’s not fair to say that
Why do have notion of “all men are the same”?
Post Opinion