One of the best parts of the movie, The Return of the King (in my opinion), is this little dialogue between Gandalf and Pippin, waiting for the enemy to break through the upper gate in Gondor. Interestingly, this dialogue is not in the book, at least not at this point. What Gandalf says is essentially in the book, but at the very end.
In the book, The Return of the King, as it closes, the three Hobbits are watching Frodo leave on the ship for the Grey Havens. At this point you will find these words (used by Peter Jackson in the clip below) of what Frodo sees as he arrives at their destination, at the second to last page of the book. It is a beautiful encouragement for those who are in Christ, as we anticipate what we wait for as we battle here on this earth.