W. Somerset Maugham said this quote

Act so that every action of yours should be capable of becoming an universal rule of action for all men.