Joukahainen was a young singer who heard that Väinämöinen, the old and famous sage, was travelling through the land. Proud of his own skill, Joukahainen challenged him to a contest of knowledge and song.
Joukahainen boasted that he knew the deepest secrets of the world. Väinämöinen listened and answered with calm confidence. As the contest continued, Joukahainen's claims became less convincing.
At last Väinämöinen began to sing in the ancient and powerful way of the old songs. As he sang, the ground gave way beneath the boastful young man, and Joukahainen sank into a swamp, first to his waist and then to his chin. Even his horse and sleigh were changed by the magic of the song.
Frightened, Joukahainen begged to be released and offered one treasure after another. Väinämöinen refused them all until the young man promised him the hand of his sister, Aino, in marriage. Only then did the old singer set him free. In the Kalevala this hasty promise later leads to sorrow, because Aino does not want the marriage.