This is wildly incorrect. For criminal groups who intend on making money, that payment is needed on a certain subset of victims are they can’t stay in business.
I am a shady company who wants to take down a competitor. I can hire a hacker who'll do the dirty job for me and then get paid in cold hard cash.
Or a nation state actor can decide to attack an enemy country's infrastructure.
So they were going to destroy data anyway, so this isn’t what outlawing ransom payments is meant prevent because it can’t. It will prevent ransomware for profit if no one pays.