2 Chronicles 32:31

31 and even when the Babylonian ambassadors came to inquire about the unusual event that had happened in the land, God let Hezekiah go his own way only in order to test his character.

2 Chronicles 32:31 Meaning and Commentary

2 Chronicles 32:31

Howbeit, [in the business of] the ambassadors of the princes
of Babylon, who sent unto him to inquire the wonder that was [done]
in the land
Not to see the two tables of stone which were in the ark, with the other two that were broken because of the sin of the calf, as the Targum; nor to ask about the destruction of the Assyrian army, and the manner of it, as Grotius; but to be informed of the miracle of the sun's going back ten degrees, when Hezekiah was recovered from his sickness; the Chaldeans being a people much given to astrology, and curious in their observations of that kind:

God left him to try him;
by showing him all his treasures:

that he might know all that was in his heart;
not that God might know, who knows all things, unless spoken of him after the manner of men; but rather that Hezekiah might know the pride lurking in his heart, and other sins which escaped his notice, ( Jeremiah 17:9 ) or that it might be known by others; that the children of men might know it, as Kimchi; and take warning by it, and observe the frailty and infirmity of the best of men.

2 Chronicles 32:31 In-Context

29 Besides all this, God gave him sheep and cattle and so much other wealth that he built many cities.
30 It was King Hezekiah who blocked the outlet for Gihon Spring and channeled the water to flow through a tunnel to a point inside the walls of Jerusalem. Hezekiah succeeded in everything he did,
31 and even when the Babylonian ambassadors came to inquire about the unusual event that had happened in the land, God let Hezekiah go his own way only in order to test his character.
32 Everything else that King Hezekiah did and his devotion to the Lord are recorded in [The Vision of the Prophet Isaiah Son of Amoz] and in [The History of the Kings of Judah and Israel.]
33 Hezekiah died and was buried in the upper section of the royal tombs. All the people of Judah and Jerusalem paid him great honor at his death. His son Manasseh succeeded him as king.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.