Medicaid , established in 1965 by Title XIX of the Social Security Act , is a federal-state matching entitlement program that pays for medical assistance for certain vulnerable and needy individuals and families with low incomes and resources .
Medicaid was established to help fund the education of the upper middle class .