The text of Isaiah 39 is the same as 2 Kings 20:12-19.
Please refer to the commentary on 2 Kings 20.
This chapter gives an account of Hezekiah's fall into sin after his recovery, and the correction he had for it. The king of Babylon sent messengers to him to congratulate him upon his recovery, Isa 39:1. Hezekiah received them with great joy, and in the pride of his heart showed them all his treasures, Isa 39:2. Isaiah the prophet examined him about it, which he readily owned, Isa 39:3,4 upon which the Babylonish captivity is foretold, when all his riches and his children too should be carried into that land, Isa 39:5-7, to which sentence he quietly and patiently submitted, Isa 39:8.