All things are working for our good. God is intentional. We are stronger, wiser and better because God took our bad experiences and bad choices, and turned them around for our good. It was all for our good. The devil meant it for evil but God turned it around for our good.
"And we know that in all things God works for the good of those who love him, who have been called according to his purpose." Romans 8:28.
It may not always seem that way but, God's word cannot be returned void. Isaiah 55:11. Love God. Trust God. There is no better guarantee on this earth.