huàn​wèi​sī​kǎo

to put oneself in someone's shoes