“There’s an odor of mendacity throughout the Afghanistan issue . . . mendacity and hubris,” John F. Sopko said in testimony before the House Foreign Affairs Committee. “The problem is there is a disincentive, really, to tell the truth. We have created an incentive to almost require people to lie.”

As an example, Sopko said U.S. officials have lied in the past about the number of Afghan children enrolled in schools — a key marker of progress touted by the Obama administration — even though they “knew the data was bad.” He also said U.S. officials falsely claimed major gains in Afghan life expectancy that were statistically impossible to achieve.

In addition, Sopko criticized the Trump administration for classifying information that shows the war is going badly, including data on Afghan troop casualties and assessments of the Taliban’s strength.

“When we talk about mendacity, when we talk about lying, it’s not just lying about a particular program. It’s lying by omissions,” he said. “It turns out that everything that is bad news has been classified for the last few years.”