2 Kings 22:2

He did what was right in the sight of the Lord and walked in all the ways of his father (ancestor) David, and did not turn aside to the right or to the left.

Deuteronomy 5:32

Therefore you shall pay attention and be careful to do just as the Lord your God has commanded you; you shall not turn aside to the right or to the left [deviating from My commandments].

Joshua 1:7

Only be strong and very courageous; be careful to do [everything] in accordance with the entire law which Moses My servant commanded you; do not turn from it to the right or to the left, so that you may prosper and be successful wherever you go.

1 Kings 3:6

Then Solomon said, “You have shown Your servant David my father great lovingkindness, because he walked before You in faithfulness and righteousness and with uprightness of heart toward You; and You have kept for him this great lovingkindness, in that You have given him a son to sit on his throne, as it is today.

1 Kings 11:38

Then it shall be, that if you listen to all that I command you and walk in My ways, and do what is right in My sight, keeping and observing My statutes and My commandments, as My servant David did, then I will be with you and build you an enduring house, as I built for David, and I will give Israel to you.

1 Kings 15:5

because David did what was right in the eyes of the Lord, and had not turned aside from anything that He commanded him all the days of his life, except in the matter of [the betrayal of] Uriah the Hittite.

2 Kings 16:2

Ahaz was twenty years old when he became king, and he reigned sixteen years in Jerusalem. He did not do what was right in the sight of the Lord his God, as his father (ancestor) David had done.

2 Kings 18:3

Hezekiah did right in the sight of the Lord, in accordance with everything that David his father (ancestor) had done.

2 Chronicles 17:3

The Lord was with Jehoshaphat because he followed the example of his father (ancestor) David. He did not seek [to follow] the Baals [the false gods],

2 Chronicles 29:2

He did right in the sight of the Lord, in accordance with everything that David his father (forefather) had done.

Proverbs 4:27


Do not turn away to the right nor to the left [where evil may lurk];
Turn your foot from [the path of] evil.

Proverbs 20:11


Even a boy is known and distinguished by his acts,
Whether his conduct is pure and right.

Ezekiel 18:14-17

“Now behold, if this [wicked] man has a son who has observed all the sins which his father committed, and considers [thoughtfully what he has observed] and does not do like his father:

Treasury of Scripture Knowledge

Summary

And he did that which was right in the sight of the LORD, and walked in all the way of David his father, and turned not aside to the right hand or to the left.

Bible References

Right

2 Kings 16:2
Ahaz was twenty years old when he became king, and he reigned sixteen years in Jerusalem. He did not do what was right in the sight of the Lord his God, as his father (ancestor) David had done.
2 Kings 18:3
Hezekiah did right in the sight of the Lord, in accordance with everything that David his father (ancestor) had done.
2 Chronicles 17:3
The Lord was with Jehoshaphat because he followed the example of his father (ancestor) David. He did not seek [to follow] the Baals [the false gods],
2 Chronicles 29:2
He did right in the sight of the Lord, in accordance with everything that David his father (forefather) had done.
Proverbs 20:11

Even a boy is known and distinguished by his acts,
Whether his conduct is pure and right.

Walked

1 Kings 3:6
Then Solomon said, “You have shown Your servant David my father great lovingkindness, because he walked before You in faithfulness and righteousness and with uprightness of heart toward You; and You have kept for him this great lovingkindness, in that You have given him a son to sit on his throne, as it is today.
1 Kings 11:38
Then it shall be, that if you listen to all that I command you and walk in My ways, and do what is right in My sight, keeping and observing My statutes and My commandments, as My servant David did, then I will be with you and build you an enduring house, as I built for David, and I will give Israel to you.
1 Kings 15:5
because David did what was right in the eyes of the Lord, and had not turned aside from anything that He commanded him all the days of his life, except in the matter of [the betrayal of] Uriah the Hittite.