Climb out of the gutter

To improve one’s position or situation.

The man was able to climb out of the gutter and begin to solve his problems.