I'm not the GP here but his point is that actually the bank in general does not loan out deposits[0].
Instead, the bank creates money at the moment a counterparty agrees to borrow it (in countries with a certain type of financial system, aka most countries today, with some interesting exceptions).
The name for an institution that loans out deposits is "credit union," but most people think that's what a bank does.
Most people are very surprised by this claim that ordinary banks create money, and deny it when you tell them. But really there's no coverup of this fact, it's written e.g. literally on the websites of most central banks such as e.g. [1], wherein the critical passage (in boldface on the first page) is:
"Whenever a bank makes a loan, it simultaneously creates a matching deposit in the borrower’s bank account, thereby creating new money."
This seems unjust to most people, since in our daily experience, money is not a thing which is very commonly created. I take no position on that alleged injustice here, and instead leave it as an exercise for the reader to reason out the consequences of a private-bankers-printing-money themed financial system (of which consequences there are many) and to ponder the identities of the people doing most of the printing.
[0] Sometimes it actually does turn out that a bank loans out a deposit, as the GP mentions, but this is by construction a small fraction of bank business.
[1] https://www.bankofengland.co.uk/-/media/boe/files/quarterly-...