The textbook story about banks taking in deposits and lending some of them back out hasn't been true in modern economies for a long time. Banks don't need deposits to make loans.
It's a long story, so I always recommend going down the Modern Monetary Theory rabbit hole.
It's a long story, so I always recommend going down the Modern Monetary Theory rabbit hole.