After traveling some days, he lost himself in a lonely valley; but, when he had wandered about some while, he at length succeeded in finding a large house. He went up to it and knocked loudly at the gate, when, to his great horror, a monstrous giant with two heads came forth. He spoke very civilly, however, and took Jack into the house, leading him to a room where there was a good bed, in which he could pass the night.

Jack took off his clothes; but, though he was very tired, he could not go to sleep. Presently he heard the giant walking about in the bedchamber, which was the next room, saying to himself:

"Though here you lodge with me this night;
You shall not see the morning light;
My club shall dash your brains out quite."

When he heard this, Jack got out of bed, and, taking a large, thick piece of wood, he laid it in his own place in the bed, and hid himself in a dark corner of the room.

In the middle of the night, the giant came with his great club, and struck several heavy blows upon the bed. Then he went off, thinking he had broken all Jack's bones.

Early next morning Jack walked into the giant's room and thanked him for the night's lodging. The giant was terribly startled to see him, and stammered out:

"Oh, dear me! Is it you? Pray, how did you sleep last night? Did you hear or see anything to disturb you?"

"Nothing worth speaking of, thank you," answered Jack, carelessly. "A rat, I believe, gave me three or four slaps with his tail; but that was all."

The giant said nothing; but went and fetched two bowls of hasty pudding for their breakfast.