The Best Trained, Most Professional Military...Just Lost Two Wars?

(...) President Obama has described our military as “the strongest military the world has ever known.”

There’s just one problem with this...

That military just lost two wars in a row.(...)

If our military is so great, why have the last fifty years been so disastrous? (...)
He's got his opinion about this, and it won't come as a huge surprise to the usual suspects in here.

(I don't agree completely.)