Will any country learn from their own mistakes and not repeat history?

After the World War I, we can imagine countries around the globe tell themselves - this will not repeat itself and we have to do everything we can do prevent it.  World War II took place just about a decade later.  The devastation caused by World War II scarred so many people that each country is doing its best to prevent the next World War.  But here we are - in the middle of another World War.  

As long as the desire for one person wishing to domination over another, we will always think of ways to build power and subjugate ones that are seemingly less than. them.