22 A good man leaves an inheritance to his children's children,
but the sinner's wealth is laid up for the righteous.
89:1 I will sing of the steadfast love of the Lord, forever;
with my mouth I will make known your faithfulness to all generations.
2 For I said, “Steadfast love will be built up forever;
in the heavens you will establish your faithfulness.”
3 You have said, “I have made a covenant with my chosen one;
I have sworn to David my servant:
4 ‘I will establish your offspring forever,
and build your throne for all generations.’” Selah
30 If his children forsake my law
and do not walk according to my rules, 
31 if they violate my statutes
and do not keep my commandments,
32 then I will punish their transgression with the rod
and their iniquity with stripes,
33 but I will not remove from him my steadfast love
or be false to my faithfulness.
34 I will not violate my covenant
or alter the word that went forth from my lips.
5 You shall not bow down to them or serve them, for I the Lord your God am a jealous God, visiting the iniquity of the fathers on the children to the third and the fourth generation of those who hate me,
19 You say, ‘God stores up their iniquity for their children.’
Let him pay it out to them, that they may know it.
6 My people are destroyed for lack of knowledge;
because you have rejected knowledge,
I reject you from being a priest to me.
And since you have forgotten the law of your God,
I also will forget your children.
42 O Lord God, do not turn away the face of your anointed one!
Remember your steadfast love for David your servant.”
11 Therefore the Lord said to Solomon, “Since this has been your practice and you have not kept my covenant and my statutes that I have commanded you, I will surely tear the kingdom from you and will give it to your servant. 12 Yet for the sake of David your father I will not do it in your days, but I will tear it out of the hand of your son.
15:1 Now in the eighteenth year of King Jeroboam the son of Nebat, Abijam began to reign over Judah. 2 He reigned for three years in Jerusalem. His mother's name was Maacah the daughter of Abishalom. 3 And he walked in all the sins that his father did before him, and his heart was not wholly true to the Lord his God, as the heart of David his father. 4 Nevertheless, for David's sake the Lord his God gave him a lamp in Jerusalem, setting up his son after him, and establishing Jerusalem, 5 because David did what was right in the eyes of the Lord and did not turn aside from anything that he commanded him all the days of his life, except in the matter of Uriah the Hittite.
14 Hezekiah received the letter from the hand of the messengers and read it; and Hezekiah went up to the house of the Lord and spread it before the Lord. 15 And Hezekiah prayed before the Lord and said: “O Lord, the God of Israel, enthroned above the cherubim, you are the God, you alone, of all the kingdoms of the earth; you have made heaven and earth. 16 Incline your ear, O Lord, and hear; open your eyes, O Lord, and see; and hear the words of Sennacherib, which he has sent to mock the living God. 17 Truly, O Lord, the kings of Assyria have laid waste the nations and their lands 18 and have cast their gods into the fire, for they were not gods, but the work of men's hands, wood and stone. Therefore they were destroyed. 19 So now, O Lord our God, save us, please, from his hand, that all the kingdoms of the earth may know that you, O Lord, are God alone.” (ESV)