Policy and governance matters.
Culture matters too. Japan is very communal society and values selflessness and sacrifice. Very happy to work their butts off for future benefit.
I don't know much about Argentine society, but once corruption and inequality get ingrained, it's REALLY hard to get rid of. There's too much to gain and lose, so being corrupt becomes a rational choice. And there's your bad governance and policy.