The Message of a Story
The message of a story is in the third act, when the main character has their "aha" moment and the climax, which follows the "aha" moment. Or it's earlier than that, but the main character learns something. What the main character learns is often the message of the story, not the ending.