The Pope has attacked world leaders who spend billions on wars and urged them to implement a "decisive change of course."