One of the main reasons why writers like Thoreau use metaphor in their writing is to reinforce main ideas.
Metaphors state the idea, but in a metaphorical, or symbolic way - they don't just state the obvious. Thus, the strength of an idea is even greater.