This is clear when one does accounting. Accounting is based on the idea that (Equity = Assets - Liabilities). When one takes out a loan, the assets go up by the amount of the loan, and the liabilities also go up by the amount of the loan. The Equity stays the same. That this balances out is literally called "balancing the books".
BTW, banks are happy to lend out money to people that have a track record of paying it back. This includes poor people. Poor people have credit cards, too, which is how they borrow money.