The Prophet ﷺ said, "A woman is married for four things, i.e., her wealth, her family status, her beauty and her religion. So you should marry the religious woman (otherwise) you will be a losers. (Using translation from Bukhārī 5090)
عَنِ النَّبِيِّ ﷺ قَالَ «تُنْكَحُ الْمَرْأَةُ لِأَرْبَعَةٍ لِمَالِهَا وَلِحَسَبِهَا وَلِجَمَالِهَا وَلِدِينِهَا فَاظْفَرْ بِذَاتِ الدِّينِ تَرِبَتْ يَدَاكَ»