Jǐsuǒbùyù, wùshīyúrén, zhè shì Rújiā de héxīn sīxiǎng zhīyī.
Do not do to others what you do not want done to yourself - this is a core Confucian idea.
Tips
history
Second half of 己所不欲,勿施于人, attributed to Confucius in 《论语·卫灵公》. Functionally the Chinese equivalent of the Golden Rule, though framed negatively (do not) rather than positively (do).