What is the meaning of [the gray mare is the better horse]

A woman is often more competent or powerful than a man; used specifically of wives who have the upper hand over their husbands.