They have just enough assets that they don 't qualify for such services through Medicaid , but are likely to end up in nursing homes--at a much higher state and federal cost--without the help of their state-funded programs .