You are correct that the government spends more on entitlements (Social Security plus Medicare plus Non-Defense Discretionary 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.