King James Version (KJV)
The LORD {is} good, a strong hold in the day of trouble; and he knoweth them that trust in him. {strong hold: or, strength}
Modern English
Yahweh is good, a stronghold in the day of trouble; and he knows those who take refuge in him.
Hebrew
ט֣וֹב יְהוָ֔ה לְמָע֖וֹז בְּי֣וֹם צָרָ֑ה וְיֹדֵ֖עַ חֹ֥סֵי בֽוֹ׃
ṭvob yhvah lmaʿvoz byvom ṣarah vyodeʿa ḥosey bvo