Incentive

Recently I was told that "socialism destroys incentive to work". Let's take a moment to examine what exactly people mean when they say that, or things like it. Because I have qualms with this statement both as someone who is pro-socialism, and someone who is anti-"work".