Any ideology can "adapt" to become the "founding cornserstone of successful and long-lasting kingdoms/nations because "Ideologies" and religions don't create things.
- The descendants of those successful kingdoms/nations that you are thinking of are in decline.
- China is now on its way to becoming a superpower.
Whenever the Soviets made any new innovation in the nuclear arms race, they often love to credit "Muh communism" for the fact that some mathematician in that worked in their space agency was able to come up with the right equations to make their missiles fly.
When the Chinese probably start making rapid advancements in AI technology faster than the West, they are going to credit the communist party because their computer scientists were intelligent enough to code in and program the AIs to make them even better than Grok or something.
Whenever the UAE makes yet another ridiculously big and expensive resort hotel skyscraper, or an update to their weather manipulation system. Muslim scholars there love to credit "Islamic values" for the fact that their engineers were able to calculate the right equations to make the buildings stand.
Religions or Ideologies do not create things, people do. If I went back in time to the Roman Empire right when Christianity began to surface and instead preached Pastafarianism, all those "successful and long-lasting kingdoms/nations would have remained largely the same except Pastafarianism would be their state religion.
And we would be having the exact same conversation except you would be praising Pastafarianism as the "cornerstone of many successful and long-lasting kingdoms/nations"