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 commands.
Read all of Deuteronomy 7 NIV
Read Deuteronomy 7:9 in another translation