Orson Scott Card said this quote

Do you know why Satan is so angry all the time? Because whenever he works a particularly clever bit of mischief God uses it to serve his own Rigteous purposes.So God uses wicked people as his tools?God gives us the freedom to to do great evil, if we choose, then He uses his own freedom to create goodness out of that evil, for that is what He chooses.So, in the long run, God always wins?Yes, in the short run though it can be uncomfortable.