King James Version (KJV)
And he sought God in the days of Zechariah, who had understanding in the visions of God: and as long as he sought the LORD, God made him to prosper.
Modern English
He set himself to seek God in the days of Zechariah, who instructed him in the fear of God, and as long as he sought the LORD, God made him prosper.
Hebrew
וַ֠יְהִ֡י לִ֠דְר֡וֹשׁ אֱלֹהִ֡ים בִּ֠ימֵ֡י זְכַרְיָ֡הוּ הַ֠מֵּבִ֡ין בִּ֠רְאֹ֡ת הָ֠אֱלֹ֠הִ֡ים וּ֠בִ֠ימֵ֡י דָּרְשׁ֡וֹ אֶ֠ת יְהוָ֡ה הִ֠צְלִ֠יח֡וֹ הָ֠אֱלֹהִֽים׃
vayhiy lidrvosh ʾelohiym biymey zkaryahv hamebiyn birʾot haʾelohiym vbiymey darshvo ʾet yhvah hiṣliyḥvo haʾelohiym