It is based on a preexisting story. This was almost word for word an adaptation of it. It is indeed a riddle as the story was about finding courage and sticking by your honor and word and being rewarded for it. Kinda why the game punishes you for being a coward.