And the government can use the new money in place of normal tax revenue, which helps the economy.
It's possible to go too far and have hyperinflation. It becomes problematic if prices double every day and nobody will accept your money because it will have lost half its value by the time they get to the bank, as is often the case in failing or mismanaged countries. But if we had e.g. ten percent inflation per year for several years, the effects would be a rather large net positive. It's basically a wealth transfer from lenders to borrowers, where "borrowers" means the taxpayer (national debt), people with student loans or car loans or credit card debt, etc. And homeowners with mortgages, canceling the reduction in housing prices that would otherwise come from significantly increasing the housing stock.
The source of the problem is that people started buying homes as investments, overpaying for them because there was insufficient supply, and now that they've got a mortgage and they don't want to end up underwater, so they have to make sure everybody else overpays too.
Probably the solution is inflation. Build more housing and at the same time print more money. Then real housing prices go down while nominal housing prices stay the same, so your house doesn't "lose value" compared to your mortgage but housing still becomes more affordable for new buyers. This would also help by devaluing everyone's student loans and other debt. Call it the banks' punishment for 2008.