If you watched the end of a movie first, it wouldn't make sense. So every scene building up to it, also has meaning. But the ultimate meaning is actually the end. Your life always has meaning in your own life-movie. Read the above suggested readings for more "clues".
God’s view of the meaning of life as presented in the Bible is truly satisfying. We are here because of Jehovah’s purpose in making us—that we may praise his name, have a good relationship with him, and thus satisfy our spiritual need. Both today and for all eternity, we can enjoy the fulfillment of the inspired proclamation: “Happy is the people whose God is Jehovah!”—Psalm 144:15.