The Prophet (Allah bless him and give him peace) said,
Do not marry women due to their beauty and elegance. It is possible that this beauty and elegance leads them to the path of destruction.
Do not marry them because of their wealth.
It is possible that their wealth leads to transgression and involvement in sinful.
Instead marry them on the basis of their religious state (Deen).
A black slave girl who is religious and endowed with good manners (ikhlaq) is better than a beautiful women from a notable family who has bad manners (ikhlaq.).
Ibn e Majjah via Uswa e Rasool e Akram Allah bless him and give him peace) , page 662