Exploring the topic of contentment, I searched the Qur'an for derivatives of the root word faraha (happy) and found that in the majority of cases, 20 or so instances, it described a negative reaction [often taken to mean pride], such as:
"But if We give them a taste of prosperity after being touched with adversity, they say, 'My ills are gone,' and become totally prideful [(lafarihun)] and boastful"
Or:
Allah gives abundant or limited provisions to whoever He wills. And the disbelievers become prideful [(wafarihu)] of the pleasures of this worldly life. But the life of this world, compared to the Hereafter, is nothing but a fleeting enjoyment."
The two or three [positive] examples of the use of faraha in the Qur'an refer to the believers in Paradise. But the one single instance of farah in this life, in a positive light, is this verse:
"Say, O Prophet, 'In Allah’s grace and mercy let them rejoice [(falyafrahu)]. That is far better than whatever wealth they amass.' "
This verse holds the key to joy and happiness in this life and is worth contemplating deeply.
Source: Qur'anReflect.com dated 2019, square brackets by SunnahOnline.com