Actually you missed the connecting point which I had hoped was way easy to see, alas.

Membership in a Church doesn't bring happiness.  

Living within the will of God and struggling toward ever closer union with Him, converting all events of our life into "acts of worship" of Him does lead to great happiness, in fact more than happiness, a sturdy joy.