I've found Ecclesiastes very comforting :
"There is nothing better for a man [than] that he should eat and drink, and make his soul enjoy good in his labor."
So the philosophy of Ecclesiastes is almost hedonistic (and views god more as blind fate than a benevolent force or being).