It is painful to see the ongoing coverage of the bank bailouts and the extent to which the government is being reimbursed. It is true that the banks have repaid the vast majority of the money that was lent. However, this is almost irrelevant to anything.
At the time the government made money available to the banks through TARP and even more so through the Fed, liquidity carried an enormous premium. The major banks charged each other 5 percent interest on 90 day loans because they did not have confidence in their ability to survive.
In this environment, the government stepped in and providing banks with huge amounts of money (we don't know exactly who got how much because the Fed refuses to tell us what it did with our money), at a cost far below what they would have been forced to pay in private markets. The banks could lend this money at enormous premiums or use it to just buy government bonds and pocket the difference in interest rates. As a result, most banks have been able to get back on their feet.
As a bookkeeping matter we can say that the government "profited" from these deals in the sense that it got interest on its loans. (It also received warrants from banks that it sold at a profit.) However, as a practical matter, these profits no more benefit the government's accounts than if the Federal Reserve Board just printed the same amount of money and handed it to the Treasury by purchasing government bonds. Unfortunately, few reporters covering the economy and the bailout understand this point, so they end up writing pieces that imply the country was somehow benefited by the fact that the banks repaid their loans with interest.