"This is something that Pakistan has to deal with on their doorstep," Earnest said. "And to the extent that the United States can be helpful in that regard, we would like to be, principally because we believe that it's in our interest for Pakistan to succeed in their fight against those extremist elements."