From Dietrich Bonhoeffer:

“Seek God, not happiness,” this is the fundamental rule of all meditation.  If you seek God alone, you will gain happiness:  that is its promise.

Dietrich Bonhoeffer, Life Together, p. 84