There are lots of crypto projects who have never been hacked - Compound, Balancer, AAVE - etc.
Banks need top grade security, and making a bank in crypto is hard. Because of the absence of regulation, what you’re getting right now is a lot of DeFi projects that are poorly secured. You take the risk you’re willing to take really.