At the screenshot, I (Altarians, light blue) am allied with Thalan, our enemies are Drath and Krynn. (DA metaverse, started with 9 races. Gigantic galaxy).
The military graphs shows that they are strong but Krynn's (grey) large empire means much of it is elsewhere (from the area shown by the red oval). My economy is very good so I could rush-buy many ships in this area while taking and holding some Krynn planets; here, they were losing about the same number of ships in battle as I.
There was NO battle-action elsewhere for me. The Drath empire was far away, as was much of the Krynn.
Earlier in the game Krynn had offered a straight peace treaty so I guessed they were actually not militarily strong enough to dislodge me from this area.
I don't know if I will win this game but both Krynn and Drath were at war because I was attacking "their friend" (the first war started because a Krynn leader was assassinated at a meeting). I'll need to make peace with both simultaneously ...

(btw Tech victory is disabled).