The Klingons launched a first strike on Cardassia in an attempt to prevent the Dominion from gaining it as an ally. If the Federation had gotten out of the way, the war might have been much more complicated for the Dominion to wage.
I think the Klingons would wage war like anyone else, weighing cost versus potential benefit.