What did the woods symbolize in The Devil and Tom Walker?

Washington Irving published The Devil and Tom Walker in 1824. Like in many poems and short stories at that time, the woods represent evil and darkness.