Blessed is the one you choose and bring near, blessed is he who is allowed to dwell in your courts. We will be satisfied with the goodness of your house, the holy temple. How precious is your lovingkindness, O God! Therefore the children of men put their trust under the shadow of Your wings. They shall be abundantly satisfied with the abundance of Your house, and You shall make them drink from the river of Your pleasures. The sons of Korah also say, "For a day in your courts is better than a thousand elsewhere." And it is said, "Blessed are those who dwell in your house."
Korah Before the Altar
Midrash Tehillim 65:3