This survey shows the opinion of Americans on the question whether the war in Afghanistan has been worth fighting , considering the cost to United States versus the benefits , from February 2007 to July 2013 .