There was no guarantee that the govt will make money but there is a guarantee it creates a moral hazard. If you are a banker take excessive risks and enjoy the profits, if things go wrong, the govt will bail you out.
Heads I win, Tails I dont lose.
You also ignored that govt/Fed keeps printing more money, so the taxpayer ultimately loses with inflation.