King James Version (KJV)
And the man departed out of the city from Bethlehemjudah to sojourn where he could find {a place}: and he came to mount Ephraim to the house of Micah, as he journeyed. {as he...: Heb. in making his way}
Modern English
The man departed out of the city, out of Bethlehem Judah, to live where he could find a place, and he came to the hill country of Ephraim, to the house of Micah, as he traveled.
Hebrew
וַיֵּ֨לֶךְ הָאִ֜ישׁ מֵהָעִ֗יר מִבֵּ֥ית לֶ֙חֶם֙ יְהוּדָ֔ה לָג֖וּר בַּאֲשֶׁ֣ר יִמְצָ֑א וַיָּבֹ֧א הַר־אֶפְרַ֛יִם עַד־בֵּ֥ית מִיכָ֖ה לַעֲשׂ֥וֹת דַּרְכּֽוֹ׃
vayelek haʾiysh mehaʿiyr mibeyt leḥem yhvdah lagvr baʾasher yimṣaʾ vayaboʾ har-ʾeprayim ʿad-beyt miykah laʿasvot darkvo