The Bible gives us quite a few means with which to measure ourselves by. Sometimes they are guideposts of what not to be like. Other times they show us how we should act.
Like an earthen vessel overlaid with silver dross Are burning lips and a wicked heart. He who hates disguises it with his lips, But he lays up deceit in his heart. When he speaks graciously, do not believe him, For there are seven abominations in his heart. Though his hatred covers itself with guile, His wickedness will be revealed before the assembly. – Proverbs 26: 23-26
We need to look into our own hearts and ask God to reveal to us if we act in this manner.
However, we also need to look into the following Scripture and ask God to help us act more like this:
But the fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, gentleness, self-control; against such things there is no law. – Galatians 5:22-23
Lastly, these Scriptures (and many more listed in the Word) help us to discern where others are in their walk with God so that we can interact and pray for them more effectively.