The task of history is to enable people to understand the causal relationship contained in the historical process itself through the retrospection of the past years and the correct revelation of the laws of history, so as to obtain wisdom and better connect the past and the future.
The central meaning of this passage is that history can enable people to gain wisdom from the past years.