Contradiction with Job 21:15
This verse questions the benefit of serving God, whereas Job 31:2 acknowledges God's dispensations from above.
Job 21:15: What [is] the Almighty, that we should serve him? and what profit should we have, if we pray unto him?
Contradiction with Psalm 73:12
This verse observes the prosperity of the wicked, which contradicts Job 31:2's implication of divine retribution from above for wrongdoing.
Psalm 73:12: Behold, these [are] the ungodly, who prosper in the world; they increase [in] riches.
Contradiction with Ecclesiastes 8:14
This verse discusses the righteous suffering and the wicked prospering, contrary to the idea of divine justice from above in Job 31:2.
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.