Yahweh was with Jehoshaphat, because he walked in the first ways of his father David, and didn't seek the Baals,
TSK
TSK · 2 Chronicles 29:2
مراجع Treasury of Scripture Knowledge في WEB.
He did that which was right in the eyes of Yahweh, according to all that his father Amaziah had done.
He did that which was right in the eyes of Yahweh, and walked in the ways of David his father, and didn't turn aside to the right hand or to the left.