That part of history, like the two WW, of course. The sample size is too small. It is not like: "I will look what happened in the past, and apply that today." That is most likely impossible, just because of context. But trying to understand what happened, really helps as a gymnastic to understand world dynamics. For example, good history teaching should have helped Europe to not be so dependent of Russian gas... I think the people making the decision there were not paying attention in history classes, or had bad teachers/professors.
But if you for example analyze the rise and fall of cities, empires and civilizations, there are some things you can learn (e.g. overuse of resources). Also the the economical crisis, bubbles and inflation teaches a lot of things.
Studying totalitarian regimes in the past, can help to detect the first signs of alarm.
It is not an exact science, yes. But knowing the past helps to understand the present, and helps to not repeat mistakes. I really think it does.