A note on Same Seat, Other Side
Note 4: Bentham
"It is the greatest happiness of the greatest number that is the measure of right and wrong." A Fragment on Government (1776), preface. Source names Bentham's Introduction to the Principles of Morals and Legislation (1789); the exact phrase is from the Fragment.