Deuteronomy 7:9

9 Know therefore that the Lord your God is God, the faithful God who maintains covenant loyalty with those who love him and keep his commandments, to a thousand generations,

Deuteronomy 7:9 In-Context

7 It was not because you were more numerous than any other people that the Lord set his heart on you and chose you—for you were the fewest of all peoples.
8 It was because the Lord loved you and kept the oath that he swore to your ancestors, that the Lord has brought you out with a mighty hand, and redeemed you from the house of slavery, from the hand of Pharaoh king of Egypt.
9 Know therefore that the Lord your God is God, the faithful God who maintains covenant loyalty with those who love him and keep his commandments, to a thousand generations,
10 and who repays in their own person those who reject him. He does not delay but repays in their own person those who reject him.
11 Therefore, observe diligently the commandment—the statutes and the ordinances—that I am commanding you today.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.