Every person in the world thinks that he/she is right all the time and justifies his /her actions based on his/her relative perception with people and situations. But the reality is it may not be so for most of the times.
Best Regards
In the court of Yamaraja, the judgement of our actions will be presented and at that time we will be forced to understand the reality and our mistakes and sins if we can't humbly and gracefully accept our faults and mistakes now.
There's a famous story in Mahabharata in this regard. One time Duryodhana was asked to see who all are good around him. He went on searching but within his mind he couldn't perceive anyone else to be better than himself due to his false pride and arrogance. And finally came back saying there is none as good as himself. This is the sign of ignorant men.
When Yudhistra maharaja was asked to find someone who is the worst, he went all around and was seeing everyone else as better in qualities than himself due to his nature of finding faults within himself and magnifying even the minute faults of himself. So he finally came back saying that there is none so bad than himself.
A person who really feels the presence of God and His supremacy always feel the self to be unqualified and humble in any situation. This is the sign of Godly men.
Best Regards
Dinesh