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
Our trust is not in a God who uses his power without a plan or at His whim. Rather our trust is in a loving, purposeful God who promises that all thing work together for good for those who love him.