Once upon a time there was a poor young boy called Jack who lived in the forest with his mother. The son and mother lived off their cow’s milk but one day it stopped producing any. Jack's mother asked him to go to the market to sell the cow for money to buy food.
When Jack was on the way to sell the cow, he met a man who said he had magic beans that grow really tall very quickly. Jack decided to exchange the cow for the magical beans instead of selling it in the market. He showed the beans to his mother when he got home but she became very angry with him and threw the beans out of the window. She then sent Jack to bed with nothing to eat.
The next morning when Jack woke up, he realized that the beans had sprouted into a giant beanstalk that went all the way up to the sky. Jack was curious as to what was up at the top, so he climbed up the beanstalk and through the clouds. When Jack arrived at the top, he went for a walk and discovered a beautiful giant castle that he entered into.
There Jack saw a giant woman and asked her for food because he was so hungry. The woman gave Jack a delicious meal but when her child-eating husband came home Jack had to hide in the oven. On the table, Jack saw a hen that laid golden eggs and a golden harp. Soon the giant was asleep so Jack escaped from the oven, stole a bag of gold and the golden harp and ran out of the house.
Jack did this twice again but the last time he traveled up the beanstalk, the giant husband saw Jack as he was running out of the house and chased after him. Once Jack got down to the bottom of the beanstalk he cut it causing the giant to fall to death.
What is the main idea of the story?