Jerimiah is talking about only “Jews”, those from the tribe of Judah who lived in Judea. It doesn’t include those from the 10 northern tribes of the nation of Israel.
Most people don’t realize that when Solomon’s son took the throne, his rule was so harsh that the ten northern tribes actually seceded. They formed their own nation with their own king, own religion(s) and own armies. It is in 1 Kings 12.
And when all Israel heard that Jerobo’am had returned, they sent and called him to the assembly and made him king over all Israel. There was none that followed the house of David, but the tribe of Judah only. (1 Kings 12:20)
The ten northern tribes were called Israel and they lived in the land that eventually became known as Samaria. Bethel and Dan were the two centers of worship. The two southern tribes of Judah and Benjamin were named Judah and they lived in the land of Judea with Jerusalem as the political capitol and center of worship. So we have to be careful about whether scripture is talking about the southern nation of Judah made up of the tribes of Judah and Benjamin, or whether they are talking about the northern nation of Israel which was made up of the ten northern tribes.
The Assyrians took some of the Israelites including the tribe of Naphtali from the north into captivity in 740 BC.
***In the days of Pekah king of Israel Tig’lath-pile’ser king of Assyria came and captured I’jon, A’bel-beth-ma’acah, Jan-o’ah, Kedesh, Hazor, Gilead, and Galilee, all the land of Naph’tali; and he carried the people captive to Assyria. **(2 Kings 15:29) *
Notice that they took Galilee captive. Galilee was way in the north, Jesus’ home base and where Peter was from. Again, another wave of captives was taken in 722 BC, this time further south in Samaria.
Then the king of Assyria invaded all the land and came to Sama’ria, and for three years he besieged it. In the ninth year of Hoshe’a the king of Assyria captured Sama’ria, and he carried the Israelites away to Assyria, and placed them in Halah, and on the Habor, the river of Gozan, and in the cities of the Medes. (2 Kings 17:5-6)
Judah had not been taken into captivity yet. Temple worship still took place in Jerusalem.
A long time passed and Assyria was conquered by Babylon. Babylon eventually came into Judea and took the Jews into captivity in three waves in the years 597 BC, 587 BC and 58 2BC respectively. Then Persia conquered Babylon and and the Persian King Cyrus allowed the Jews to return to Judea and rebuild the temple in Jerusalem.
It gets even more confusing because some of the numbers in the various accounts in the Bible don’t agree exactly. The books of 1 and 2 Chronicles are a recounting of the same stories as 1 and 2 Kings but from a little different perspective and the numbers don’t line up exactly between the two versions of the story.
Jerimiah is referencing only the Jews. That means Judah only.
jewsandjoes.com/history-and-timeline-of-israel-and-judah.html is a good site which has an overview timeline of the history of Jedah and Israel.