Overall happiness and utility is when the most amount of pleasure is given for the least amount of pain. However, utility is only beneficial to a majority of society and can cause several others to suffer IF it is offering the best pain to pleasure ratio. Utility of a community leaves a lot of room to argue that people can be but through an unreasonable amount of pain if it offers better utility for the community. Beccaria argues that punishment that is abused or unnecessary will be ineffective in