The LORD was with Jehoshaphat because he followed in his ancestor David’s footsteps at the beginning of his reign. He did not seek the Baals,
TSK
TSK · 2 Chronicles 29:2
Treasury of Scripture Knowledge references in NET.
He did what the LORD approved, just as his father Amaziah had done.
He did what the LORD approved and followed in his ancestor David’s footsteps; he did not deviate to the right or the left.