Pour money into education, not weapons, wars, pope tells nations