Contradiction with 1 Samuel 15:3
This verse commands the Israelites to destroy the Amalekites completely, which seems to contrast with the goodness and uprightness of the Lord described in Psalms 25:8.
1 Samuel 15:3: Now go and smite Amalek, and utterly destroy all that they have, and spare them not; but slay both man and woman, infant and suckling, ox and sheep, camel and ass.
Contradiction with Exodus 32:14
This verse shows God changing His mind about bringing harm, which appears to contradict the unchanging goodness mentioned in Psalms 25:8.
Exodus 32:14: And the LORD repented of the evil which he thought to do unto his people.
Contradiction with Isaiah 45:7
Here, God claims to create both peace and evil, which seems inconsistent with the purely good guidance implied in Psalms 25:8.
Isaiah 45:7: I form the light, and create darkness: I make peace, and create evil: I the LORD do all these [things].
Contradiction with Ezekiel 20:25
This verse describes God giving statutes that were not good, conflicting with the guidance of sinners in the way as in Psalms 25:8.
Ezekiel 20:25: Wherefore I gave them also statutes [that were] not good, and judgments whereby they should not live;
Contradiction with Numbers 31:17-18
The instruction to kill is in tension with the uprightness and goodness of Psalms 25:8.
Numbers 31:17-18: Now therefore kill every male among the little ones, and kill every woman that hath known man by lying with him. [him: Heb. a male]