I'd suggest reading the book cited by the grandparent. You're a little naive on the topic. The vast majority of women marry for social or financial status, but it's an unconscious mechanism.
In the end, it's all about optimizing genetic fitness and resource availability. Our genes do this automatically, and it's not limited to humans.