God’s purpose for pain