Over here (Belgium) we have legalized prostitution, but it's very hard for sex workers to open a bank account. There's some legislation that forces banks to offer them a basic bank account (at a steep fee) if they can prove that they've been rejected by N banks. Which is a start, I suppose.
Banks have basically become an extension of law enforcement, tax collectors, anti-terrorist operations, and morality police. Which is ironic, given how many banks brazenly break laws on the regular, how absolutely depraved parties with bankers are, etc. They're hardly paragons of virtue. Yet they get to gatekeep "virtue".
What with all the attention they have to put into cooperating with the authoritarians they also aren't particularly good at their theoretical purpose, which is pooling people's money and investing it productively. We're watching an ongoing capital crisis in the West where we've been out-invested by nominal communists; it is absurd. The banking system has sticky fingers all over that mess. Then they get political protection through financial crisises where they should be taken out by bankruptcy but the powers that be prioritise having reliable people in what is effectively law enforcement rather then putting good capital managers in charge.
So, y'know. Upside is the banks do a great job of shutting down sex workers and political activism. 10/10 mark for reporting what everyone is doing to law enforcement. Downside is that turns out to be a big distraction from all the wealth creation banking can enable.
The main business of banking is actually leveraging the capital of their owners (shareholders) to lend. Deposits are not the main game, and are there for two reasons - firstly that lending produces deposits, so banks may as well be able to hold deposits just for that reason, but also because deposit inflows create the liquidity banks need to lever up their capital. This is the real reason why banks pay interest on deposits - to encourage people to transfer money in and not transfer as much out. Actually just having the deposits sitting there doesn’t do much for the bank, so the bank more wants you to transfer money in to increase your balance and not just hold it.
> Retail banks actually don’t ‘pool people’s money and invest it’
In all highly developed nations (G7 or OECD), most commercial banks invest a portion of deposits into government bonds and highly rated corporate bonds. They may also deposit funds with the central bank, usually called "The Window", but the interest rate will be (usually) lower than gov't bonds or corporate bonds. The difference between the interest paid on these deposits and earnings from these investments is called the NIM -- net interest margin. (This margin also includes lending these deposits at a much higher rate of interest than they pay depositors.)However, the phrase "invest it" makes it sounds like they are gambling the money on speculative investments! There are very strict rules about what securities (classes and ratings) are allowed as investments.