لِّكَيْلَا تَأْسَوْا۟ عَلَىٰ مَا فَاتَكُمْ وَلَا تَفْرَحُوا۟ بِمَآ ءَاتَىٰكُمْ ۗ وَٱللَّهُ لَا يُحِبُّ كُلَّ مُخْتَالٍ فَخُورٍ
likaylā tasaw ʿalā mā fātakum walā tafraḥū bimā ātākum wal-lahu lā yuḥibbu kulla mukh'tālin fakhūrin
In order that you not despair over what has eluded you and not exult [in pride] over what He has given you. And Allāh does not like everyone self-deluded and boastful -
— Saheeh International
so you need not grieve for what you miss or gloat over what you gain. God does not love the conceited, the boastful,
— M. A. S. Abdel Haleem
In order that you may not grieve at the things that you fail to get, nor rejoice over that which has been given to you. And Allâh likes not prideful boasters.
— Muhammad Muhsin Khan & Muhammad Taqi-ud-Din al-Hilali

