Not too long ago, there was a member here saying that it's better to store funds on exchanges rather than cold wallets because they pay interest

Well, whatever interest they are offering, it's not an answer to the security risk these exchanges like Kucoin faces everyday. Think also of the opportunity costs from the days operation is suspended.
Ridiculous that this is still happening in 2021,
And it will happen again on Kucoin or other exchanges in 2022 or beyond that. Banks which existed way before crypto exchanges continues to be attacked by hackers.