By the end of the story, the peasant walked back home with a fine coat filled with gold, which was certainly a good bargain.