This reading comes from Sibbes' The Bruised Reed. God sovereignly is at work even in our sinful struggles, even in the very sins we commit -- for our good and his glory..
You can find this classic work at The Banner of Truth.