Exodus 20:5 Thou shalt not bow down thyself to them, nor serve them: for I the Lord thy God am a jealous God, visiting the iniquity of the fathers upon the children unto the third and fourth generation of them that hate me; 6 And shewing mercy unto thousands of them that love me, and keep my commandments.
[Patriarchs & Prophets pp 306] The close and sacred relation of God to His people is represented under the figure of marriage. Idolatry being spiritual adultery, the displeasure of God against it is fitly called jealousy. “Visiting the iniquity of the fathers upon the children unto the third and fourth generation of them that hate Me.” It is inevitable that children should suffer from the consequences of parental wrongdoing, but they are not punished for the parents’ guilt, except as they participate in their sins.
It is usually the case, however, that children walk in the steps of their parents. By inheritance and example the sons become partakers of the father's sin. Wrong tendencies, perverted appetites, and debased morals, as well as physical disease and degeneracy, are transmitted as a legacy from father to son, to the third and fourth generation. This fearful truth should have a solemn power to restrain men from following a course of sin.
“Showing mercy unto thousands of them that love Me, and keep My commandments.” In prohibiting the worship of false gods, the second commandment by implication enjoins the worship of the true God. And to those who are faithful in His service, mercy is promised, not merely to the third and fourth generation as is the wrath threatened against those who hate Him, but to thousands of generations.
Ezekiel 18:20 The soul that sinneth, it shall die. The son shall not bear the iniquity of the father, neither shall the father bear the iniquity of the son: the righteousness of the righteous shall be upon him, and the wickedness of the wicked shall be upon him.
May The Lord add His blessing to the study of His word. God bless!