The overwhelming majority of that spending is social security and other retirement programs which are earned (and often paid-for) benefits from a lifetime of work. The next largest (by far) category is Medicare which was largely, but not entirely, paid for by a lifetime of work.
Take just the retirement program figures out and the figures are much closer to what you prefer. Take out the half of Medicare that was paid for by seniors and it’s even closer.