 It's the way God does things. He always exploits Satan's evil intentions and uses them in his own good service. It's just one more example of God's ability to work out, quote, everything in conformity with the purpose of his will. Just like it says in Ephesians chapter 1. God works everything. Broken hearts, broken homes, broken necks. He works everything to conform with the purpose of his will.