Jeremiah 24:1-6

1 King Nebuchadnezzar of Babylon took Jehoiakin (son of King Jehoiakim of Judah), the princes of Judah, the skilled workers, and the builders from Jerusalem into captivity and brought them to Babylon. After this, the LORD showed me two baskets of figs set in front of the LORD's temple.
2 One basket had very good figs, like figs that ripen first. The other basket had very bad figs. These figs were so bad that they couldn't be eaten.
3 Then the LORD asked me, "What do you see, Jeremiah?" I answered, "Figs. Figs that are very good. I also see figs that are very bad, so bad that they can't be eaten."
4 The LORD spoke his word to me,
5 "This is what the LORD God of Israel says: The captives of Judah, whom I sent away from here to Babylon, are like these good figs. I will look kindly on them.
6 I will watch over them for their own good, and I will bring them back to this land. I will build them up and not tear them down. I will plant them and not uproot them.