For awhile, I solved the unanswered prayer conundrum with the thought that sometimes the answer to your prayer is, "No."
Then I realized that with the answer being, "Yes," sometimes and , "No," others, the result wasn't materially different than God not being involved at all.
I still kind of miss the situations I had imagined in my head:
"She wants a husband? Oh, I don't think so! She needs to get herself together, first!"