Why would God want us to hope for something even when He already knows that we would not get it? Is that cruelty or love? Whether we get what we're hoping in God for in this life or not, whether things are rosy or challenging, God's ultimate purpose for us is the development of our character, that character which will be able to hope till the end in the second coming of His son. If we choose not to trust God because not receiving what we're hoping for is a possibility, we deny ourselves of the opportunity to earn things of eternal value which we cannot earn in any other way but through hoping in God. Basically, we absolutely cannot know the joys of hoping in God until we have tested Him time and time again.
