in somebody's shoes
in someone else's situation, especially a bad one
I wouldn't like to be in his shoes when his wife finds out what happened
Anyone in her shoes would have done the same thing
Don't be cross with them. Try to put yourself in their shoes (=imagine what it would feel like to be in their situation