Joshua 11:20

For it was of the LORD to harden their hearts, that they should come against Israel in battle, that He might utterly destroy them, and that they might receive no mercy, but that He might destroy them, as the LORD had commanded Moses.