Yes exactly its generalizing based on membership in a group. Like imagine if someone made the same comments about race.. "Black people are X" would obviously be considered very racist. Yet somehow its okay to generalize about a whole gender, literally billions of people! Those kinds of comments are really not okay and we need to see people as people not as 'member of that group'.