I dunno. What do you do when you need the info but the bad people won't give it up cheerfully? Do you go without?
Oh, the answer to that is rather easy.
Yes, I will go without that particular set of information.
What I would do was not to fund terrorist organization that will later turn to be our enemies.
I would not go to another region of the world and create death and destruction, and a whole new generation of enemies.
I would not go to a random country to fight terrorism when I can do is more easily by disbanding the CIA and other intelligence agencies that have created the terrorists.
If I had failed to do all that, I would invest heavily in the Intelligence and diplomacy. I would reach out to my enemies and make concessions. That would not be difficult unless you have aspirations other than creating enemies.
I would admit my faults. I would ask for forgiveness from the people that I put through hell.
Support for terrorist organizations would die out.
Nobody with a future supports terrorism.