In most cases, your government benefits are not affected, as mortgage proceeds are not considered income. In the case of Medicaid, it is a best practice to keep your bank accounts under $2,000 just in case.