Notice it doesn't say that all things are good.
It says all things work together for good. In the end, all will be right. In the meantime, things might be downright rough.
But God will use them all. He gives us all freedom to make foolish and sometimes outright stupid choices--then He weaves them all around to make a story so grand that we would never choose something else if we could truly see the whole picture.
That is amazing.