Max Lucado said this quote

God doesn’t manufacture pain, but he certainly puts it to use.