So there were 14 generations from Abraham to David. There were 14 from David until the Jewish people were forced to go away to Babylon. And there were 14 from that time to the Messiah.
Nebuchadnezzar took all the people of Jerusalem to the land of Babylon as prisoners. That included all the officers and fighting men. It also included all the skilled workers. The total number of prisoners was 10,000. Only the poorest people were left in the land.
Nebuchadnezzar, the king of Babylon, did not take these things away at first. That was when he took King Jehoiachin from Jerusalem to Babylon. Jehoiachin is the son of Jehoiakim. Nebuchadnezzar also took all the nobles of Judah and Jerusalem along with Jehoiachin.