What does this quote mean?

Not all who wander are lost.

Thanks
-MC

I assume you read all the lines. In this second line, the reference to the Rangers, who appear to wander, or or vagabonds, but in reality, they are seeking out and destroying evil.

Have you read the book?
http://en.wikipedia.org/wiki/Ranger_%28Middle-earth%29
http://en.wikipedia.org/wiki/All_that_is_gold_does_not_glitter