I remember I had this discussion in the past. The first ever advancements into social programs in Europe instituted by the state were designed as a pressure-valve and implemented by one of the most authoritarian, reactionary and oppressive regimes of the time - the German Empire (during the time of von Bismak's stewardship). Social programs are not socialism, and are in fact a hinderance to socialism.
"
Karl Marx famously critiqued the basic institutions of the welfare state in his
Address of the Central Committee to the Communist League by warning against the programs advanced by
liberal democrats. While Marx proclaimed that the
communists had to support the
bourgeoisie wherever it acted as a
revolutionary,
progressive class because "bourgeois liberties had first to be conquered and then criticised",
[15] he specifically argued that measures designed to increase wages, improve working conditions and provide welfare payments would be used to dissuade the working class away from socialism and the revolutionary consciousness he believed was necessary to achieve a
socialist economy and would therefore be a threat to genuine structural changes to society by making the conditions of workers in capitalism more tolerable through welfare schemes.
[16]
"
en.wikipedia.org