22:47 [There was] then no king in Edom: a {b} deputy [was] king.
(b) In the time of this king, Idumea was subject to Judah, and was governed by whom they of Judah appointed.
22:47 A deputy - Sent, and set over them by the kings of Judah, from the time of David, until the days of Jehoram, 2Chron 21:8.
22:41-50 Jehoshaphat's reign appears to have been one of the best, both as to piety and prosperity. He pleased God, and God blessed him.