Billions spent on Afghan army ultimately benefitted Taliban