22 And as for the people that remained in the land of Judah, whom Nebuchadnezzar king of Babylon had left , even over them he made Gedaliah the son of Ahikam, the son of Shaphan, ruler .