President Biden has bet that exiting Afghanistan will strengthen the US in its competition with China.…