Romans 9:18

Therefore he has mercy on whom he wills, and he hardens the heart of whom he wills.

Romans 9:22-23

What if God, choosing to show his wrath and to make his power known, endured with much patience the vessels of wrath prepared for destruction,

Treasury of Scripture Knowledge

Summary

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.

It was

Bible References

It was

Romans 9:18
Therefore he has mercy on whom he wills, and he hardens the heart of whom he wills.