Sunzi Bingfa chapter 1 lists five constant factors, the Way, heaven, earth, the commander, and method, and seven comparisons between rival rulers, concluding: 'With many calculations, one wins; with few, one does not win; how much more so with none at all. By observing this, victory and defeat are already apparent.' The Yinqueshan Han slips (tomb closed c. 134 BCE, excavated 1972) confirm the chapter order and wording of the received text.
'Every battle is won before it is fought' circulates as a Sun Tzu motivational poster. The text's claim is colder: victory belongs to whoever did the accounting, and charisma is not among the five factors.
The temple calculation is a metaphysics of conflict: the war is a disclosure of a shape that already exists, assembled from terrain, morale, logistics, and law. Chapter 4's 'victorious warriors win first and then go to war' is the same doctrine, the event is the printout of the preparation.
If the outcome is computed before contact, what are you calculating before yours?