Confucius

When out of doors, behave as though you were entertaining a distinguished guest; in ruling the people, behave as though you were officiating at a solemn sacrifice; what you would not wish done to yourself, do not do unto others. Then in public as in private life you will excite no ill will.