Socialism was adopted by the petit bourgeoisie as a critique of bourgeois excess.