Deuteronomy 7:8-10

8 But it was because the LORD loved you and kept the oath he swore to your ancestors that he brought you out with a mighty hand and redeemed you from the land of slavery, from the power of Pharaoh king of Egypt.

9 Know therefore that the LORD your God is God; he is the faithful God, keeping his covenant of love to a thousand generations of those who love him and keep his commandments.

10 But those who hate him he will repay to their face by destruction; he will not be slow to repay to their face those who hate him.