My understanding of this sentence is that seeing how far the past is means that you can see how many shortcomings or mistakes you have made before, so that you can constantly sum up and improve, and then you can solve the same problem in a better way in the future and avoid repeating the same mistakes. That is, how far you can see the future.