In the light of a parable given in the Quran, one can infer that only those nations and societies will survive and remain on the earth to endure which are beneficent to the humankind. And the societies which do not result in any benefit to the humankind will disappear to go into oblivion. Here goes the parable:
اَنْزَلَ مِنَ السَّمَاۗءِ مَاۗءً فَسَالَتْ اَوْدِيَةٌۢ بِقَدَرِهَا فَاحْتَمَلَ السَّيْلُ زَبَدًا رَّابِيًا ۭ وَمِمَّا يُوْقِدُوْنَ عَلَيْهِ فِي النَّارِ ابْتِغَاۗءَ حِلْيَةٍ اَوْ مَتَاعٍ زَبَدٌ مِّثْلُهٗ ۭ كَذٰلِكَ يَضْرِبُ اللّٰهُ الْحَقَّ وَالْبَاطِلَ فَاَمَّا الزَّبَدُ فَيَذْهَبُ جُفَاۗءً ۚ وَاَمَّا مَا يَنْفَعُ النَّاسَ فَيَمْكُثُ فِي الْاَرْضِ ۭ كَذٰلِكَ يَضْرِبُ اللّٰهُ الْاَمْثَالَ
“He sends down water from the sky and the valleys flow according to their (respective) capacity. Then the floodwater carries the scum raised to the surface. And (similarly) the items that are heated in the fire for making ornaments or other articles also have foam that comes up the same way. Thus Allah illustrates examples of the substantial reality and the futile vanity. So, (whether produced by water or by fire) the foam or scum passes away useless but that which is of benefit to the humankind endures in the earth. Thus Allah sets forth the parables”.
Al-Quran Surah 13: Verse 17