Jeremiah 29:11 says: For I know the thoughts that I think toward you, saith the LORD, thoughts of peace, and not of evil, to give you an expected end.
(KJV).
The verse appears in Jeremiah 29, in a letter Jeremiah sends to the exiles in Babylon. Read it in context at Jeremiah 29:11, or the full chapter at Jeremiah 29.