The admonition to walk a mile in someone else’s shoes means before judging someone, you must understand his experiences, challenges, thought processes, etc. The full idiom is: Before you judge a man, walk a mile in his shoes. In effect, it is a reminder to practice empathy. Read more https://grammarist.com/phrase/walk-a-mile-in-someone-elses-shoes/