Why Doesn’t God Answer All My Prayers?

Could the reason for our unanswered prayers be that we’re just not good enough? On one hand we wonder why God doesn’t answer all of our prayers, and on the other hand we understand the song, “Thank God for Unanswered Prayers.”