Atticus says the quote while talking to Scout, who has had quite a bad day at school. He means to make her feel sympathetic and compassionate about people she might disagree with. That is, try to understand others by putting in their shoes and trying to figure out why they act or think they way they do.