The Taliban is a Pakistan proxy.
Al Qaeda is a Saudi proxy.
ISIS is a Qatari proxy
All three countries: Pakistan,Saudi Arabia and Qatar are long-term allies or protectorates of the US..
Now try and work out what's actually going on, here . You might end up with some unpleasant and disturbing...