What is done for another is done for oneself.

己所不欲,勿施于人。