Just when we thought it was the end of the world, there happened to be a glimmer of sunshine.
Just when I thought the sky was going to clear up, dark clouds began to shine again.
Later I discovered that what I had been insisting on might have been wrong from the beginning.