Frustrated at work? What can you change?

One of the most influential mentors I ever had once told me that when faced with a problem, situation, or frustration with other people, I should consider that the problem might not be the other person. Maybe it was me and/or my attitude.