However, regarding the ambassadors of the princes of Babylon, whom they sent to him to inquire about the wonder that was done in the land, God withdrew from him, in order to test him, that He might know all that was in his heart. 2 Chr 32:31
There is a reason for everything that happens. We may not know how events are inter-connected one to another because God may not reveal that to us.
But this verse tells us the reason for God withdrawing from Hezekiah. The reason was to test him – to see what was in his heart.
Sometimes we may ask the reason as to why we fell into sin. Perhaps it was because God withdrew Himself – so that we may be tested – so that He may know what is in our heart, just like the case for Hezekiah. And when we fall, we know what is in our heart – that there is nothing good. We are utterly sinful and fully dependent on the grace of God to sustain us, or we will fail miserably. That reduces us to dust and helps us to appreciate the sustaining grace of God.
If we have fallen into sin, may we find grace through our Lord Jesus Christ who gave Himself to redeem us because we are totally unable to help ourselves.