Humbled Before God (James 4:1-10)

We can be very frustrated at times because it seems like the Lord is not hearing our prayers.  We might be asking for something that we desire, but the Lord might not be giving us what we want.  Why would the Lord withhold good things from his children?  How can we find contentment in times of want?  How can we have an attitude before the Lord that is pleasing and honorable to Him?