“Before you criticize someone, you should walk a mile in their shoes. That way when you criticize them, you are a mile away from them and you have their shoes.”
The idea behind the quotation
The joke twists advice to understand someone before judging them: walking away with their shoes leaves you too far away to criticize them.