According to Karl Marx, punishment is intended to reinforce the capitalist system and oppress working-class people. He argued that offenses committed by wealthy individuals are often ignored or lightly punished, whereas working-class individuals face harsher punishments. Marx believed that prisons serve as a dumping ground for the working class and that restorative justice is not viable due to the inherent conflictual nature of class relations under capitalism. Therefore, strict legislation is required to impose appropriate punishment on offenders, creating awareness among society to prevent such activities.