There are no mistakes. The events we bring upon ourselves no matter how unpleasant are necessary in order to learn what we need to learn whatever steps we take they're necessary to reach the places we've chosen to go.
As in geology so in social institutions we may discover the causes of all past changes in the present invariable order of society.
If it is surely the means to the highest end we know can any work be humble...
The whole system of society tells you what to do.