Analysing the difference between developing and advanced economies when it comes to borrowing