Read Tanakh
In Mizmor 7, David recognizes that man will sin and err in judgement. Upon reflection, man must recognize what he did, accept the ramifications of his actions, seek judgement for himself and his enemies, and also justify himself in judgement.