Joshua 11:20; Joshua 14:8

20 For it was of the LORD to harden their hearts, that they should come against Israel in battle, that he might destroy them utterly , and that they might have no favour, but that he might destroy them, as the LORD commanded Moses.
8 Nevertheless my brethren that went up with me made the heart of the people melt : but I wholly followed the LORD my God.