There is no more powerful example of hating someone for what we are guilty of doing ourselves than the story of David and Bathsheba. David sees Bathsheba and decides he must have her. She is a married woman, the wife of Uriah. David has many wives. To cover his sinful relationship with Bathsheba, he sends Uriah into a trap to die in battle.
Sometime later, Nathan comes to tell David the story of a poor farmer who owns only one lamb while his wealthy neighbor owns a large herd, but when a visitor comes to the wealthy man, he steals the lamb of his poor neighbor and serves it to his guest.
David said that the wealthy farmer must be punished for what he has done. Nathan points to David, “You are the man.”
We’re not all that different from David. We dislike in others what we dislike in ourselves.