Sure @jeffyt. This scripture is really the main reason - Matthew 5:3. "Happy are those conscious of their spiritual need, since the kingdom of the heavens belong to them"
So when we are conscious of our spiritual need or put simply, when we recognize that we need God in our lives to succeed, we try to put him first. Like you said, it bring us closer to God