“Are the desires of my heart good?”

How do we deal with disappointment with God? How can we say God is good when so many bad things happen? Why did Jesus say the Sabbath was made for man, not man for the Sabbath? Is it okay to express the desires of our heart to God and ask Him for them?