those things aren't mutually exclusive. North Korea is a malnourished country, evidenced by the pretty stark fact that South Koreans are now so much taller that South Korean women are approaching the height of North Korean men.
It's just that if you pump a quarter of your entire GDP into nukes and hackers you can still be decent at it even if your people are starving.