Turn the corner
To turn the corner is to pass through some difficulty and get into a stronger, safer position and dates in this sense from the early 19th century. It derives from horseracing when the horses turn the corner and enter the home straight.