While that is the official reason/target, the question of who actually gets killed in those drone strikes is a contentious issue:
https://www.theguardian.com/us-news/2014/nov/24/-sp-us-drone...
https://www.washingtontimes.com/news/2015/oct/15/90-of-peopl...