Historical commentary by Matthew Henry. The wording and interpretations below belong to the original source.
Jehoshaphat's Piety. ( b. c. 897.)
Here is, I. The great favour God showed to Jehoshaphat,
1. In bringing him back in safety from his dangerous expedition with Ahab, which had like to have cost him dearly ( v. 1 ): He returned to his house in peace. Notice is taken of this to intimate, (1.) That he fared better than he had expected. He had been in imminent peril, and yet came home in peace. Whenever we return in peace to our houses we ought to acknowledge God's providence in preserving our going out and our coming in. But, if we have been kept through more than ordinary dangers, we are in a special manner bound to be thankful. There was but a step perhaps between us and death, and yet we are alive. (2.) That he fared better than he deserved. He was out of the way of his duty, had been out upon an expedition which he could not well account for to God and his conscience, and yet he returned in peace; for God is not extreme to mark what we do amiss, nor does he withdraw his protection every time we forfeit it. (3.) That he fared better than Ahab king of Israel did, who was brought home slain. Though Jehoshaphat had said to Ahab, I am as thou art, God distinguished him; for he knows and owns the way of the righteous, but the way of the ungodly shall perish. Distinguishing mercies are very obliging. Here were two kings in the field together, one taken and the other left, one brought home in blood, the other in peace.
2. In sending him a reproof for his affinity with Ahab. It is a great mercy to be made sensible of our faults, and to be told in time wherein we have erred, that we may repent and amend the error before it be too late. The prophet by whom the reproof is sent is Jehu the son of Hanani. The father was an eminent prophet in the last reign, as appeared by Asa's putting him in the stocks for his plain dealing; yet the son was not afraid to reprove another king. Paul would have his son Timothy not only discouraged, but animated by his sufferings, 2 Tim. iii. 11 , 14 . (1.) The prophet told him plainly that he had done very ill in joining with Ahab: " Shouldst thou, a godly man, help the ungodly, give them a hand of fellowship, and lend them a hand of assistance?" Or, " Shouldst thou love those that hate the Lord; wilt thou lay those in thy bosom whom God beholds afar off?" It is the black character of wicked people that they are haters of God, Rom. i. 30 . Idolaters are so reputed in the second commandment; and therefore it is not for those that love God to take delight in them or contract an intimacy with them. Do I not hate those, says David, that hate thee? Ps. cxxxix. 21 , 11 . Those whom the grace of God has dignified ought not to debase themselves. Let God's people be of God's mind. (2.) That God was displeased with him for doing this: " There is wrath upon thee from before the Lord, and thou must, by repentance, make thy peace with him, or it will be the worse for thee." He did so, and God's anger was turned away. Yet his trouble, as recorded in the next chapter, was a rebuke to him for meddling with strife that belonged not to him. If he be so fond of war, he shall have enough of it. And the great mischief which his seed after him fell into by the house of Ahab was the just punishment of his affinity with that house. (3.) Yet he took notice of that which was praiseworthy, as it is proper for us to do when we give a reproof ( v. 3 ): " There are good things found in thee; and therefore, though God be displeased with thee, he does not, he will not, cast thee off." His abolishing idolatry with a heart fixed for God and engaged to seek him was a good thing, which God accepted and would have him go on with, notwithstanding the displeasure he had now incurred.