Question: why are all countries in debt?
Answer: Most countries in the world have sizeable national debt (i.e their government budget runs on a deficit) because government expenditure generally exceeds net government revenue. Government generates part of its revenue through taxation, interest on student loans etc. but these can't be raised beyond a certain level.