Why was God so harsh in punishment with Achan’s sin (Joshua 7) but completely pardoned Ahab in 2 Kings 21? If God dealt harshly with Achan because of the covenant He made back in Exodus 23:20-22, why would He even make that covenant knowing that it would prevent His mercy later on?
Joshua 7:24 - 26
NKJV - 24 Then Joshua, and all Israel with him, took Achan the son of Zerah, the silver, the garment, the wedge of gold, his sons, his daughters, his oxen, his donkeys, his sheep, his tent, and all that he had, and they brought them to the Valley of Achor. 25 And Joshua said, "Why have you troubled us? The LORD will trouble you this day." So all Israel stoned him with stones; and they burned them with fire after they had stoned them with stones.
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.