That's actually a fact.
Gender is defined as: the state of being male or female (typically used with reference to social and cultural differences rather than biological ones).
For most people, your gender and your sex are congruent. For others, it isn't.
Even if you don't agree: Why do you care?