(However good friend of mine has worked on support vessels in the North Sea and had some amazing stories, complete w/pictures of big angler fish, Lophius piscatorius I think, caught with high end ROVs.)
Making sure to stay in the drivers seat instead of selling out to a big company was the first step.
Of course, if corruption is rampant everywhere this is much harder.
Also setting targets and staying true to them seems to be important. Today the target is not to use anything from their oil fortune except the interest. This is something they seem to fight about every year but the majority seems to say no to the party idea every time.
Helping other countries extract fossil fuels more quickly might well exacerbate the planet's upcoming crises. So, from my perspective this is part of the problem.
One good thing I think is at least they are not spending it as they extract it, rather investing it globally.