Jehoshaphat kept close to the worship of God, and did what he could to keep his people close to it. But after God had done such great things for him, given him not only victory, but wealth; after this, to go and join himself with a wicked king, was very ungrateful. What could he expect but that God would be angry with him? Yet it seems, he took the warning; for when Ahaziah afterward pressed him to join him, he would not, 1 Kings 22:49. Thus the alliance was broken, and the Divine rebuke had its effect, at least for a season. Let us be thankful for any losses which may have prevented the loss of our immortal souls. Let us praise the Lord, who sought after us, and left us not to perish in our sins.