Deuteronomy 7:8-10

8 It was because the LORD loved you and because of his fidelity to the oath he had sworn to your fathers, that he brought you out with his strong hand from the place of slavery, and ransomed you from the hand of Pharaoh, king of Egypt.

9 Understand, then, that the LORD, your God, is God indeed, the faithful God who keeps his merciful covenant down to the thousandth generation toward those who love him and keep his commandments,

10 but who repays with destruction the person who hates him; he does not dally with such a one, but makes him personally pay for it.