King James Version
Howbeit in the business of the ambassadors of the princes of Babylon, who sent unto him to enquire of the wonder that was done in the land, God left him, to try him, that he might know all that was in his heart.New International Version
But when envoys were sent by the rulers of Babylon to ask him about the miraculous sign that had occurred in the land, God left him to test him and to know everything that was in his heart.Catholic Public Domain Version
Yet still, concerning the legates from the leaders of Babylon, who had been sent to him so that they might inquire about the portent which had happened upon the earth, God permitted him to be tempted, so that everything might be made known which was in his heart