Psalms 125:4

2 As the mountains are round about Jerusalem, so the LORD is round about his people from henceforth even for ever.

3 For the rod of the wicked shall not rest upon the lot of the righteous; lest the righteous put forth their hands unto iniquity.

Do good, O LORD, unto those that be good, and to them that are upright in their hearts.

5 As for such as turn aside unto their crooked ways, the LORD shall lead them forth with the workers of iniquity: but peace shall be upon Israel.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Do good, O LORD, to those who are good, and to the upright in heart.
KJV
Do good, O LORD, unto those that be good, and to them that are upright in their hearts.
WEB
Do good, LORD, to those who are good, to those who are upright in their hearts.
ASV
Do good, O Jehovah, unto those that are good, And to them that are upright in their hearts.
DARBY
Do good, O Jehovah, unto the good, and to them that are upright in their hearts.
BLB
Do good, O YHWH, to the good, and to the upright in their hearts!
ÅB
Gjør godt, Herre, mot de gode, mot dem som er oppriktige i sine hjerter!
OTB
Vis godhet, Herre, mot dem som er gode,
Og mot dem som er oppriktige i hjertet.
B1930
Gjør godt, Herre, mot de gode, mot dem som er opriktige i sine hjerter!

Study notes (Tyndale)

Original text and word study

Cross references