You are correct that the government spends more on entitlements (Medicaid plus Medicare plus Medicaid plus other mandatory programs) than national defense, but remember, the question asked you to choose which among the four specific programs received the most money.