The misapprehension in these posts is common: that, because there are aspects of the universe which can be agreed “objectively”, then everything must/should have some “objective” aspect to it. This is actually a logical fallacy.
The thing about these biological computers in our skulls is that they can attain pretty much any ‘configuration’, output almost any ‘decision’ including logically absurd ones, and achieve myriad emotional ‘states’. There is “logic” in outputting a decision or attaining an emotional state only insofar as there is “logic” in the way an electronic computer works, in terms of a vast array of logic gates (eg. AND, NOR and the like, although our biological computers are effectively “analogue” in character rather than “binary” as such). The decision or state itself might very well violate “logical” principles in the manner of a computer programme calculating the wrong answer.
When considering emotional states attainable by a biological computer (but not an electronic one, yet) such as happiness, wonder, awe, incredibility and the “decision to go on”, the relevant epistemology is not logic, mathematics or science, but aesthetics. There is no “objective reason” to employ reason: one can only say that it is “useful” in addressing certain problems. Applying reason to these emotional states is like applying mathematics to a painting: reason and math are simply not relevant epistemologies here.
Now, one can provide a description or explanation of aesthetics in terms of science and reason. Your depression might be correlated with neurotransmitter depletion or some other “objectively verifiable” measurement. One might find an elevated level of serotonin in my brain when I stand atop a mountain with a particular piece of music in my ears. (And note that I say that we can “explain” such a complex system, but not “predict” it, in the same way that we can explain but not necessarily predict the weather.)
However, the question “what is the logical reason for the pursuit of happiness and the decision to go on?” attempts to mix epistemologies like oil and water. “Wanting happiness” or “desiring an end to depression” are tautologies: the very definitions make “desire for unhappiness” a contradiction.
The universe is so. It is how it is, not some other way. You are part of that universe: your senses are how you “encode” it into arrangements of neural connections called “memories”. Logic and reason are how we arrange and cross-file those memories such that they encode the universe the way it is rather than the way it isn’t: we call this “truth”.
“Beauty”, on the other hand, is to do with the emotional state those sensory inputs and memories bring about. Truth and beauty are two different things. There is beauty in us if you look for it, too, Muad’Dib: We, your fellow biological computers, all hope that yours attains a state you can call “happy” soon. Perhaps seeing these very words appear on your monitor might bring about a small change in this respect: the wish of another organism at the end of a network cable that you be well can fulfill itself just by speaking it, if only temporarily.