The real enemy of happiness is the mind's fixations and delusions... If you have the right mind, you can overcome anything - you can be happy, no matter what.
Religion does not mean just precepts, a temple, monastery, or other external signs, for these as well as hearing and thinking are subsidiary factors in taming the mind.
The most important thing is practice in daily life; then you can
know gradually the true value of religion. Doctrine is not meant for
mere knowledge, but for the improvement of our minds. In order to do
that, it must be part of our life. If you put religious doctrine in
a building and when you leave the building depart from the practices,
you cannot gain its value.