I'm curious, in your periods of interest in religion, did you ever come across systematic theology?
Systematic theology applies critical thought, and yes, even empiricism to the study of scripture. I would recommend R.C Sproul's "Foundations" lecture series to anyone who is interested in the subject.
No, I don't consider unhappiness to be a problem to be solved, or that anyone can solve such a problem. That's the opposite of what I said actually.