Mr. Kristol made a distinction between programs such as Social Security and Medicare , which collectively benefit society , and specific programs to help the poor , which he thought inflamed class resentment .