Just because you buy fire insurance, that doesn't mean you plan to burn your house down. It's called hoping for the best, but preparing for the worst. If you don't do that, too, then your life must be a mess.
You know, your mom knew you would have times when you would fall down and scrape your knee, so she kept Band-Aids in the house. Does having Band-Aids mean she WANTED you to fall down and scrape your knee? Of course not. That's ridiculous. She knew that it would happen, though, so she prepared for it. Maybe you should be glad your mom bought Band-Aids instead of blaming her for you going out and scraping your knee.
It's not that God wants people to fail some test. It's that God knows people will fail and so has prepared for that eventuality.