I understand the sentiment. But how do you know those prayers were ignored?
And if you cannot know whether those prayers were ignored, rather than answered in the negative or not according to your timing and preference, is the best response really to burn down a house of worship? The symbol here, I’m guessing, is meant to suggest the abandonment of faith.
Anger toward God when things don’t go your way is understandable. I’ve been angry with God. But to abandon faith altogether when life don’t go as you’d prefer is like saying, “God, I don’t think you are competent to manage the cosmos. You are not seeing the big picture and making very wrong calls. I could do it better.”