Define “invest.” Banks invest. That’s literally what they do.
People deposit their money rather than put it under their mattress, and the banks reward them by giving extra money to them.
Then the banks figure out a way to put that money somewhere else that rewards them more than what they are giving the depositors.
Basically that’s the foundation of civilization.