http://www.esvbible.org/Leviticus+21/
http://www.esvbible.org/Psalms+26-150/
http://www.esvbible.org/Ecclesiastes+4/
http://www.esvbible.org/1+Timothy+6/
"ONE THING I ASK OF THE LORD, this is what I seek: that I may dwell in the house of the LORD all the days of my life, to gaze upon the beauty of the LORD and to seek him in his temple" (Ps. 27:4).
This glorious stance finds parallels elsewhere. Thus in Psalm 84:10-11 the psalmist declares, "Better is one day in your courts than a thousand elsewhere; I would rather be a doorkeeper in the house of my God than dwell in the tents of the wicked. For the LORD God is a sun and shield; the Lord bestows favor and honor; no good thing does he withhold from those whose walk is blameless."
This is not quite the same as saying that the psalmist wants to spend all his time in church. The temple was more than a church building, and synagogue buildings had not yet been invented. This was a way of saying that the psalmist wanted to spend all his time in the presence and blessing of the living God of the covenant, the God who supremely manifested himself in the city he had designated and the temple whose essential design he had stipulated. This necessarily included all the temple liturgy and rites, but it wasn't a fine sense of religious aesthetics that drove the psalmist. It is nothing less than an overwhelming sense of the sheer beauty of the Lord.
But there are two further connections to be observed:
(1) The psalmist's longing is expressed in terms of intentional choice: "this is what I seek" (27:4, italics added); "Better is one day in your courts than a thousand elsewhere; I would rather be a doorkeeper in the house of my God than dwell in the tents of the wicked" (84:10, italics added). The psalmist expresses his desire and his preference, and in both cases his focus is God himself. We will not really understand him unless, in God's grace, we share that focus.
(2) The psalmist recognizes that there is in this stance abundant security for him. While it is good to worship God and delight in his presence simply because God is God, and he is good and glorious; yet at the same time it is also right to recognize that our own security is bound up with resting in this God. David wishes "to gaze upon the beauty of the LORD and to seek him in his temple," for "in the day of trouble he will keep me safe in his dwelling; he will hide me in the shelter of his tabernacle and set me high upon a rock" (27:4-5). "I would rather be a doorkeeper in the house of my God," we read, for "the LORD God is a sun and shield" (84:10-11).
Leviticus 21; Psalms 26–27; Eccl. 4; 1 Timothy 6