Deuteronomy 5:10; Deuteronomy 7:9; Deuteronomy 7:12

10 but showing lovingkindness to thousands, to those who love Me and keep My commandments.
9 "Know therefore that the LORD your God, He is God, the faithful God, who keeps His covenant and His lovingkindness to a thousandth generation with those who love Him and keep His commandments;
12 "Then it shall come about, because you listen to these judgments and keep and do them, that the LORD your God will keep with you His covenant and His lovingkindness which He swore to your forefathers.