Contradiction with Job 21:7-15
While Psalms 7:17 thanks God for His righteousness, this passage questions why the wicked prosper and challenges the idea of divine justice.
Job 21:7-15: Wherefore do the wicked live, become old, yea, are mighty in power?
Contradiction with Ecclesiastes 8:14
Contrary to expressing gratitude for divine justice, it observes that righteous people get what the wicked deserve, and vice versa.
Ecclesiastes 8:14: There is a vanity which is done upon the earth; that there be just [men], unto whom it happeneth according to the work of the wicked; again, there be wicked [men], to whom it happeneth according to the work of the righteous: I said that this also [is] vanity.
Contradiction with Jeremiah 12:1
This verse questions God's justice by pointing out that the wicked often prosper.
Jeremiah 12:1: Righteous [art] thou, O LORD, when I plead with thee: yet let me talk with thee of [thy] judgments: Wherefore doth the way of the wicked prosper? [wherefore] are all they happy that deal very treacherously? [talk...: or, reason the case with thee]
Contradiction with Habakkuk 1:2-4
Here, the prophet complains to God about allowing injustice and wrongdoing to prevail, challenging the notion of His righteous intervention.
Habakkuk 1:2-4: O LORD, how long shall I cry, and thou wilt not hear! [even] cry out unto thee [of] violence, and thou wilt not save!