$40,000 just sitting in the bank is a waste and you only receive a meagre amount of interest.
I would advise purchasing blue chip stocks which also pay a healthy dividend.
In a stock market crash, those are the ones which generally recover first, so they're a safer investment.
A good financial adviser will possibly help you invest in one of those, but will take a cut too, so do your own research if you can.
Many financial advisers will provide poor advice though and they still get their cut, fee or commission.
Don't purchase all of the one stock though. Spread the investment around through 3 or 4 blue chip companies.
Also don't purchase dodgy investments like penny stocks. Even the experts get burned on those.
Keep away from Bitcoin and similar currencies. Maybe they will continue on their merry way upwards, but it's a long way down if they crash.