The government took money from people that were putting it to productive use and gave it to people that weren't. If they had allowed the banks to fail, their resources would have been auctioned off to the banks that didn't make poor decisions. Those banks would now be running the financial system, not the ones that destroyed it.