To turn the tide is to reverse the situation, as a tide turns from high to low. In the times of sailboats, the turning of the tide was extremely important to casting off to sea. If you were trying to set sail as the tide was coming in, it was far more difficult than if you cast out as the tide was going out. You had to put yourself in a favorable situation to more easily escape the harbor, and it’s the same with sin.