Contradiction with Deuteronomy 6:14
This verse instructs not to follow other gods, whereas Exodus 20:2 emphasizes God who brought Israel out of Egypt.
Deuteronomy 6:14: Ye shall not go after other gods, of the gods of the people which [are] round about you;
Contradiction with Jeremiah 25:6
Warns against serving other gods which could contrast Exodus 20:2's focus on deliverance by a specific deity.
Jeremiah 25:6: And go not after other gods to serve them, and to worship them, and provoke me not to anger with the works of your hands; and I will do you no hurt.
Contradiction with Judges 10:13
God refuses to save those who forsake Him, differing from Exodus 20:2 where God is seen as deliverer.
Judges 10:13: Yet ye have forsaken me, and served other gods: wherefore I will deliver you no more.
Contradiction with Isaiah 43:11
Declares God is the only savior, which might suggest a contrast in who can or can't save besides the Exodus 20:2 God.
Isaiah 43:11: I, [even] I, [am] the LORD; and beside me [there is] no saviour.
Contradiction with 1 Kings 11:33
Condemns other gods, whereas Exodus 20:2 focuses on identifying God as deliverer.
1 Kings 11:33: Because that they have forsaken me, and have worshipped Ashtoreth the goddess of the Zidonians, Chemosh the god of the Moabites, and Milcom the god of the children of Ammon, and have not walked in my ways, to do [that which is] right in mine eyes, and [to keep] my statutes and my judgments, as [did] David his father.