It depends how old you are.
It took a long time for me to learn that prayers are answered in a wide variety of ways, but that all are heard. For those of us on this planet, most prayer would seem to be answered with a no, or not yet. But even if that were true it would not mean we ought to cease. Prayer is for our benefit. We can ask for intercession and sometimes get it. Most often, though, life circumstances are planned to help us achieve spiritual growth and a deepening attachment to God and need not be tampered with. Even what may seem a horrible situation or illness is permitted because, without that experience, some people would not get to where they need to go.
There is an interview with Sister Joan Noreen, found here;
where she speaks of a Father Alfred Delp. He was a Jesuit priest, imprisoned and eventually hanged by the Nazies during the latter stages of WWII. What interested Sister Joan was that the circumstances of Fathers captivity and ultimate death were exactly what he needed to finally overcome what he himself admitted was his greatest road block to God; his ego. She described him as a very in-charge, arrogant personality. The host of the program, Doug Keck, put it best, that this was the cross he had to bear, not as a punishment for sinfulness, but as an opportunity to defeat his own ego.
Naturally, his former parishioners would have been praying fervently for his eventual release. But there was a reason their prayers were not answered
in the way they had hoped or expected. I now gear my prayers, not for someone’s or my own deliverance from a bad situation, but for the strength and wisdom to see it through and learn the lesson intended.