There is something about overcoming obstacles that inspires the human heart. When we are able to achieve, it stirs something inside of us and influences us to share our triumphs with our brothers or sisters to gain the courage to achieve as well. In order for us in our own lives to reach our "happily ever after", we must experience adversity, we must conquer that adversity, and we must finish the race so to speak. A modern-day apostle, Dieter F. Uchtdorf, talks more about how these fairy tales correlate with our everyday lives.
We experience our own "happily ever after" as well follow Jesus Christ. In Mosiah 2:41 it reads:
"And moreover, I would desire that ye should consider on the blessed and happy state of those that keep the commandments of God. For behold, they are blessed in all things, both temporal and spiritual; and if they hold out faithful to the end they are received into heaven, that thereby they may dwell with God in a state of never-ending happiness. O remember, remember that these things are true; for the Lord God hath spoken it."
We can live "happily ever after", and we don't have to be alone doing so! Not only can we achieve this goal of "eternal life, which gift is the greatest of all the gifts of God" (D&C 14:7) with our Father in Heaven and His Only Begotten, but we can experience the eternities with our families through ordinances performed in holy temples.