The passage summarizes a fairy tale called "The Frog Prince":
1) A princess loses her golden ball in a well and laments her loss.
2) A frog offers to retrieve the ball if the princess promises to let him live with her.
3) The frog brings the ball back and the princess agrees but then refuses and leaves without the frog.