the bailout package rejected

i am not economic-savvy, in fact, i hated economics. but the situated is bad.

am i understanding this right: mister john doe wants to buy a house, bank gives him money, mister doe cannot pay, bank is in trouble, government – meaning mister doe’s money – will give money to the bank?

i really don’t understand this.