This Bible contradiction is from the EvilBible.com.
Hatred to the Edomite sanctioned
2 Kings 14:3 View context
And he did [that which was] right in the sight of the LORD, yet not like David his father: he did according to all things as Joash his father did.
2 Kings 14:7 View context
He slew of Edom in the valley of salt ten thousand, and took Selah by war, and called the name of it Joktheel unto this day.
Hatred to the Edomite forbidden
Deuteronomy 23:7 View context
Thou shalt not abhor an Edomite; for he [is] thy brother: thou shalt not abhor an Egyptian; because thou wast a stranger in his land.