Q. Why countries with any kind of ideology
do not do all for their own people
before doing some or little
for the rest of the world ?
Ans. Perhaps to satisfy their own heart and/or GOD and/or to open a way to expand their own power and/or ideology across more people and/or territories !
Q. So our analysis depends on the purpose and/or goal of which they follow !?
Ans. Yes. Indeed. You got the point !