Updated

At times Tuesday night, it sounded as if President Barack Obama didn't know what kind of speech he wanted to give. Was it a foreign policy address aimed at assuring a world-wide audience of America's resolve in the war against militant Islam? Or was it an election stump speech to confirm to voters that the economy is job No. 1 for this president and his party?

The speech's best moments were those praising the commitment, courage and sacrifice of America's military. The president powerfully said that "our troops are the steel in our ship of state," and all who serve join "an unbroken line of heroes that stretches from Lexington to Gettysburg; from Iwo Jima to Inchon; from Khe Sanh to Kandahar."

For someone who had been such a vocal war opponent, he was generous in acknowledging what our troops accomplished—defeating "a regime that had terrorized its people" and helping "Iraq seize the chance for a better future." Because of our troops, he said, "Iraq has the opportunity to embrace a new destiny, even though many challenges remain."

Karl Rove, is a former senior adviser and deputy chief of staff to President George W. Bush and a Fox News contributor. He is the author of "Courage and Consequence" (Threshold Editions, 2010). To continue reading his column in The Wall Street Journal, click here.

Fox News Opinion is on Twitter. Follow us @fxnopinion.