From the given passage, the device that Thoreau uses in this passage is rhetorical question.
Thoreau used rhetorical question in the passage to ask some questions for effect as they do not have answers. He compares reality with what the people PERCEIVE as their reality.