Countries are built on their founders, which often times are very rich, or by people who hold elite status/power I will use my own country, the United States, as an easy example to show this.
?In my college history book, the text states that "America's Constitution was written by elites to address their own interests." The constitution became supported by all Americans, due to the allowance of popular sovereignty. To break that down, the U.S. governing system is a "keep in check system" that keeps rich very happy, and gives average Americans an opportunity to succeed.
Another weird part about the U.S. nation is the Electoral Voting system. The whole reason the Electoral system is in place, is that the founders of America did not trust the popular opinion of the people They felt that states could balance out the "unwise" popular vote, and that would lead to a longer lasting nation. There's not a lot of trust in the average Joe here, but Joe has to feel like he has some lol.
For interested history people, the American Revolutionary War that has always been looked at as strictly for "Independence for America," was actually the founders irate that the British regiments were moving on their owned land Ben Franklin, George Washington, and many other powerful individuals at the time, had invested tons of capital in that North-East lands, and they did not want the Brits to take that away This ultimately led to gained country support for the War, a dislike against Brits, and the Revolution