the young man was shipwrecked , met sea serpents who menaced him and mermaids who entranced him , had adventures , found treasure , and came home at last only to find his young woman wed to his best friend , who , if somewhat poorer , also apparently had better sense .