The way I see it, there are basically two answers to my question, which depend slightly on the how.
1) Either some god intentionally created this universe and knows why it did so,
OR
2) It just happened/ the god created the universe accidentally/ did it deliberately but not for any reason other than companionship.
The issue is not which of these two options is correct so much as it is what are the ramifications of those two options. Option 1 is currently not very likely as far as I can tell. Option 2 is far likelier, and far more difficult to find a purpose for... well, for anything in.
I happen to believe that a god, specifically Jehovah, created the universe, and life in basic form or forms, and modified that life to suit His creations' needs. This belief does nothing to answer the why question though. Assuming it is correct, I have a choice between brief limited hedonism, and eternal somewhat less-limited hedonism.
Is there any legitimate advantage to one of these choices over the other? Is there any proof that existence is preferable to non-existence?
If my belief is incorrect, I am still stuck with both options, but now I'm either being denied vital knowledge (my objective purpose) in option 1, or I have none whatsoever in option 2.
Is there a material difference in the case of either not knowing my objective purpose or not having one? Should I act differently in either case? Given that I can't know which of the two circumstances I am laboring under, which should I assume? Does it matter? Does an object made for a purpose, and then witheld from acting on that purpose have any reason to exist? Does an object that has no purpose have any reason to exist?
Can an object without any reason to exist ever have a purpose once its existence is established? Probably, but only a subjective one.
That leads me to what I guess is the last question for now:
If there is no objective purpose to life, the universe, and everything, does a subjective purpose give meaning to one's existence, or merely hide the meaninglessness of it?