In The Alchemist by Paulo Coelho, we encounter a young Shepherd from Spain named Santiago. Santiago moves between different places, and there is a church in Spain where he finds shelter when herding in that village. He has had a dream about treasures in the pyramids of Egypt twice, and this stirs his interest. With the help of a gypsy woman and an old man, Santiago sets out for Africa.
In Africa, Santiago is faced with many challenges, but he has a strong will. He meets an alchemist who joins him on the journey to Egypt. The climax of the book is when the alchemist and Santiago are captured by tribesmen, and Santiago has to turn into wind or they both die. He uses the many lessons he had learned from the moment he decided to go after his treasure and turns into the wind.
The alchemist and Santiago continue with the journey until they get to Egypt, where the alchemist leaves Santiago to discover his treasure. Some men approach Santiago when he is digging for treasure; they take the only piece of gold he had been given by the alchemist and beat him up when he can't find more. The resolution is when the leader of the people who beat him shares his dream of treasures hidden in a ruined church in Spain where shepherds and their sheep slept.