You can't be sure with that. Even the most reputable ones can have some bad days and you'll never know how bad and terrible the situation they can get in.
Just remember FTX, Binance has got hacked with huge funds and recall all of those big names in the industry in the past.
FTX went down a year after the heights of 2021. The vast majority of hacks don't happen at major exchanges, and if they do, it'll impact a very small portion of their accounts. It's all about statistics and probabilities. I'm more concerned about these exchanges locking your account than getting hacked (as another user pointed out).