It is true to never leave money on exchanges centralized at the end of the day, as your money can disappear at any time but there is no denying that exchanges are extremely important. Like it or not, we will never get rid of it completely, without the exchange, the market will never grow. We would be in a lot of trouble without the exchange, I don't know what I would do to survive in the market if I didn't use the exchange because I am a trader.
In awaiting while DEXes will be developed enough to replace CEXes. Even now some trading can be done on DEX and modern DEXes are faster and easier than first ones. I'm sure we'll see some new generations of decentralized decisions for trading in not too distant future. And as for now we just need to consider risks every time our coins is not in our non custodial wallet.
DEX is developing day by day, it is true that there has been progress recently but inadequacies are still many. Honestly, to provide services like CEX, I would say never DEX can do. I've never traded P2P on any DEX, but I wonder how they can prevent scams if they don't control the users. If you trade on centralized exchange, once scam happens, exchange will lock your account and force you to verify your identity but that can't happen on DEX. I am curious.