The French word for wanderlust or wandering is 'errance.' The etymology is the same as 'error.' So to wander is to make mistakes. In other words, to make mistakes, to make errors is sort of the idea of learning through trial and error, allowing the mistakes to be part of the process.