David had abundant favor and blessing from God. That does not mean he did not go through hard times and lonely times. Although you may not have precisely the same blessing as David, as a child of God His favor and blessings is there for you too. Sometimes you will need to wait on it in the valley but if you do I believe He will lead you up the hill and ultimately to the view of heaven.