Myth: opposites attract.

The correct idiom is in fact 'birds of a feather flock together'.

Similar personality types are more attracted to one another and their relationships are more likely to last for a long time.