See on ch. 6:14. Even the captivity of the exiles would be for their own good (see on ch. 24:5-10). God assured and comforted His people with the promise that when the 70 years would end, His “eyes” would be “upon them for good” (ch. 24:6).
An expected end.
Literally, “a latter end and an expectation.” In other words, God promises His chosen nation that all things will come out well for them in spite of their captivity. If in justice the Lord had to “wound” His children by means of the Captivity, in His love and mercy He would “heal” them by means of the restoration (see Deut. 32:39; Job 5:18; Hosea 6:1).