Influence of Ancient Traditions on the Development of the Philosophy of History of Karl Marx