To use a car analogy, it's similar to VW cheating on emissions testing. They knew they could not keep up, so they just lied instead. Guess what? People from VW are actually getting arrested and likely going to prison.
As far as the impact of their actions on the world economy, there could be a lot to be said about firms colluding with each other to hide and obfuscate the problems they were creating from their fraudulent activity, so that they could continue to enrich themselves. All of these firms failures at accountability being completely isolated events is simply not true.
Madoff isn't behind bars because he blew the money on cocaine. He's behind bars due to: securities fraud, wire fraud, mail fraud, money laundering, making false statements, perjury, theft from an employee benefit plan, and making false filings with the SEC.
The aggregate impact of such conduct on the world economy is irrelevant to criminal prosecution of individuals. It’s antithetical to criminal law to punish people more harshly because unrelated other people happened to engage in the same wrongdoing.