Yes, I agree, to Joe Biden and Obama, the Taliban is not the enemy. To this American, Joe and Barry are enemies to the Union, just like their allies, the Taliban.
Both have as a goal the overthrow of Free America. So they are allies in the same cause.
It’s interesting that the author describes it as a “gaffe.” He didn’t sound like he was engaging in a gaffe, it sounded like he was making a very clear and precise explanation of the Obama Administration’s foreign policy stance.
A “gaffe” is spelling “potatoe” - and that’s certainly not what this was.