Yahweh was with him, and he prospered in everything he undertook. He rebelled against the king of Assyria and would not serve him.
In context
5He trusted in Yahweh, God of Israel; there was no one like him among all the kings of Judah who came after him, nor among those before him. 6He held fast to Yahweh and did not turn from following him; he kept the commandments Yahweh had given Moses. 7Yahweh was with him, and he prospered in everything he undertook. He rebelled against the king of Assyria and would not serve him. 8He struck down the Philistines as far as Gaza and its territory, from watchtower to fortified city. 9In the fourth year of king Hezekiah — the seventh year of Hoshea son of Elah, king of Israel — Shalmaneser king of Assyria marched against Samaria and besieged it.