shè shēn chǔ dì

设身处地 (設身處地)

put oneself in another person’s position

to empathize; put oneself in another person’s shoes

Example:

乘务员要事事设身处地为旅客着想。
Chéngwùyuán yào shìshì shèshēnchǔdì wèi lǚkè zhuóxiǎng.
The attendants should look at everything from the passengers’ angle and take care of their every need.

你只要设身处地想想他的处境, 就可以理解他为什么会有那种表现。
Nǐ zhǐ yào shèshēnchǔdì xiǎngxiang tā de chǔjìng, jiù kěyǐ lǐjiě tā wèishénme huì yǒu nà zhǒng biǎoxiàn.
If you put yourself in his place, you may realize why he acted as he did.