Norway is a beautiful modern liberal democracy, Saudi Arabia is a theocratic desert dictatorship hellhole.
Does not selling to the local school while riding an electric scooter make it alright?
It's not an exact analgy, sure .. but to describe it as "beyond stupid" is certainly less than bright.
I would say a better analogy is selling alcohol to an alcoholic because you can't just cut off the supply right away because they could die from the abstinence symptoms. You need to get them off their dependency slowly. In this case, you need to decrease their dependency on oil and gas slowly and replace it with clean alternatives, which are currently way too expensive for the developing world.
Countries would literally go to war tomorrow if they lost their supply of oil and gas.