He tells her that before she becomes judgemental about someone that she should try to look at the situation through their eyes and see if she can gain some understanding about why a person does what they do, or believes the way they believe. He's trying to teach her how to have some empathy for those whose lives are not like hers is.