Banks can legally lend you money that they do not have. Thay just punch figures on a computer, that reflect in your account as money. You are however obliged to pay them back with real money and add interest on top. They create money out of nothing and charge you interest for it.