12 Jehoiachin king of Judah, his mother, his attendants, his nobles and his officials all surrendered to him. In the eighth year of the reign of the king of Babylon, he took Jehoiachin prisoner.

Read 2 Kings 24:12 Using Other Translations

And Jehoiachin the king of Judah went out to the king of Babylon, he, and his mother, and his servants, and his princes, and his officers: and the king of Babylon took him in the eighth year of his reign.
and Jehoiachin the king of Judah gave himself up to the king of Babylon, himself and his mother and his servants and his officials and his palace officials. The king of Babylon took him prisoner in the eighth year of his reign
Then King Jehoiachin, along with the queen mother, his advisers, his commanders, and his officials, surrendered to the Babylonians. In the eighth year of Nebuchadnezzar’s reign, he took Jehoiachin prisoner.