The government also paid interest on the money they gave the banks.
The government charged interest on the loans they gave the banks.
You're clueless about everything that happened.
Even if it was just the loss on HARP (which it wasn't) it's still a loss.
HARP was intended to lose money. It was a handout, not a loan. DURR.
TARP, the part that loaned to the banks, so they'd have the liquidity to continue, worked. The banks stayed liquid, the panic selling stopped and they repaid the loans at a profit to the Treasury.
Again though, where is this found in Capitalism?
Preventing your banking system from failing is found in modern, regulated economies.