Some people think that life is like shooting craps but it's not! It's true that we must trust God for our lives, but God didn't plan your life the way we shoot craps. He didn't mix up a bunch of trials, joys, traits, and appointments in a bag, roll them out into some heavenly corner and pick the best roll out of three. No, His plans for our lives were deliberate and well thought out.
The thing we tend to forget is that God is good! His plans for us are good! His desires for us are good! Unfortunately, not everything that happens to us is good. God doesn't always get His way because sometimes we get in His way.
Even in the worst of circumstances, I believe that God is up to something good.
Even if He didn't lead us there, He follows us there and He stays there with us and helps us get out.
He will "take what the devil meant for harm and bring good". But we must believe that He's that kind of God. How much better things would be and we would be if in the midst of our dark nights, long days, most trying trials, we looked to God to see what good thing He was doing in the midst of it all. Paul and Silas understood this and it caused them to sing even though they were facing almost certain death at the next sunrise!
It is an amazing thing to go through something hard with God. At the end of it all, if we have looked for His goodness in the midst of it, we come out on the other side with a sense of awe at His mercy, His power, and His unceasing love. We build spiritual muscle that supports and protects us. It readies us for the next trial. Jesus said that "in this world, you will have trouble". But He also told us that he "has overcome the world." We are seated in heavenly places with Christ, therefore we have overcome through Him! Jesus causes us to "always triumph". Sometimes the victory is more about what happens in us than what happens to us.