Whatever you have will end, but what Allāh has is lasting. And We will surely give those who were patient their reward according to the best of what they used to do.
(And had your Lord willed, all of those on earth would have believed together.) 10:99, meaning, He could have created harmony among them, and there would not be any differences, conflicts or hatred between them.
(And if your Lord had so willed, He would surely, have made mankind one Ummah nation or community, but they will not cease to disagree. Except him on whom your Lord has bestowed His mercy, and for that did He create them.) (11:118-119) Similarly, Allah says here:
All Worldly Gains and States will Perish - Only their Outcome with Allah shall Remain
A casual look at the expression: مَا عِندَكُمْ (ma ` indakum: 'what is with you' meaning world gains) leads one to think of wealth and possessions only. My revered teacher, Maulana Sayyid Asghar Husain of Deoband, may the mercy of Allah be upon him, said that the word: مَا ma (what) is general lexically and there is nothing prohibiting us from taking it in a general sense, therefore, included under it are wealth and possessions of the present world as well as all states and matters that one experiences therein. These could be happiness and sorrow, pain and comfort, sickness and health, gain and loss or someone's friendship or enmity. These form part of it for all these are transitory and must perish. However, the after-effects of all these states and matters which are to bring reward or punishment on the Day of Judgment are destined to remain. So, any reckless pursuit of states and matters that must perish and to stake one's life and its energies on this altar by becoming negligent of the eternal reward and punishment is something no sane person should elect to do.
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 95–96
Executing an agreement on oath is the final shape of a firm agreement. From this point of view, all agreements are covered by this verse. If Muslims enter into transactions involving agreements with others and thereafter, without any real reason and only for the sake of self-interest, break them, this will result in destroying the moral credibility of Muslims in general. This will create an atmosphere such as will discourage others from adopting the way of God. Ibn Kathir writes that when a rejecter of Islam sees that a Muslim has entered into an agreement, but goes against it, he will have no faith in the religion of Islam and will abstain from embracing the religion of God. The act of breaking an agreement against the principles of Islamic law inevitably occurs when one partner to it sees that he will receive certain worldly benefits by doing so. But a believer’s view is Hereafter-oriented. Whenever it is the self which makes a move to break the agreement, the person concerned curbs his self by saying that there may be some worldly benefit in breaking it, but he will gain no advantage thereby in the Hereafter. And the advantage of the Hereafter is definitely greater than any worldly benefit.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.