The Lost Hero is part of a series, so it ends in a cliffhanger, to encourage you to read the next book in the series, but there still is something of a moral.
This fantasy fiction story has a moral to it. The main idea is that even when life really stinks, you always have friends to rely on and never give up hope.