The broad framework of Communist states at the time was establishing world dominance through force and persuasion, although they couldn't agree on the exact pace and methods. NK was in this respect not an outlier, the Kim v1 likely seeing his role in the new world order less marginal than ruling half a peninsula. In particular, anti-Japan sentiment was and still is cultivated throughout society. In 2020 it can not be ascribed to realistic self-preservation interest.
And in either case, the very fact they do have ideology means a lot. Certain decisions are going to be made not due to strategic and personal interest but to an abstract rulebook not necessarily in sync with reality. Therein lies a huge danger not covered by assumptions of rational actor model.
Without anything motivating themselves besides just trying to survive, the motivation of everyone to fight is very low. That doesn’t make for a good dedicated army. Most NK soldiers would surrender as soon as they could.