David having lodged his appeal with God by prayer and a solemn profession of his integrity, in the former part of the psalm, in this latter part does, as it were, take out judgment upon the appeal, by faith in the word of God, and the assurance it gives of the happiness and safety of the righteous and the certain destruction of wicked people that continue impenitent.