God encourages his exiled people by assuring them of his presence through trials, reminding them of their value to him, and promising to re-gather them.