In this verse, Jeremiah is referring to the days of the Messiah. Specifically, he is talking about the 1,000 year reign of Jesus Christ upon the earth. This is sometimes referred to as the “Millennial Reign”. At that time, Judah will be saved, where at the present time, they are lost.
(Read Romans 9:5)