Simple: build a meritocracy based on evolutionary principles of nature.
A failing democracy is a result of stifling and manufactured groupthink, failing all over the world. Instead, country leaders must define and build a dynamic meritocracy compliant with the systems of nature. The ability to make money in said meritocracy purely restricted to the strengthening of humanity. For any endeavor that does not strengthen humanity instead weakens it. The incredible ingenuity of humanity has yet to prove our species can outlive a common fly.
Hence, our current manmade systems must (and can) be retrofitted to comply with nature’s rule, for such compliance with nature will minimize the conflicts that are currently suffocating even “developed countries.”