This is one of several figures of speech that can be used to describe the same thing. It is used to tell another person that before they make a judgement or evaluation about something the first person did, they should try to live and experience what the first person has to experience. ‘Look through someone else’s eyes’ is similar.