You might find that Internet tropes about terrorism to be less than accurate.
For example, I just finished "Rise and Kill First" [1] a rather enlightening book about Israel's use of targeted assassinations going back almost 100 years. When I started reading Israel wasn't in the news, but then the whole Iran/US nuclear deal fiasco hit, and it made Netanyahu's actions all the more clear. Note, I'm not saying justified but rather that I now understand why Israel thinks and acts the way it does, and how sometimes this clashes with their normally close allies like the US.
1: https://www.amazon.com/Rise-Kill-First-Targeted-Assassinatio...
Before that, I read "Ghost Wars" [2] another beast of a book that covers US involvement in the Middle East going back to the late 1970's up to 9/11. Fascinating book about the struggle to dominate Afghanistan by regional and world powers.
[2] https://www.amazon.com/Ghost-Wars-Afghanistan-Invasion-Septe...
Before that, it was "The Brothers: John Foster Dulles, Allen Dulles, and Their Secret World War" [3] about the history of the CIA and the US's foreign policy in the last 100+ years.
[3] https://www.amazon.com/Brothers-Foster-Dulles-Allen-Secret/d...
Key point - These books look past recent events to provide an mostly complete understanding of these conflicts that you can't get with 20 minute Google searches and Wikipedia snippets.
"...Dulles was one of the intelligence titans of the 1950s, one of the original cold warriors. And he was someone who believed that there were, quote-unquote, “moderate Nazis,” his words, who the U.S. could use to its advantage in the Cold War. And he actively recruited them himself and, in a number of cases, intervened on their behalf when they were facing accusations about their past, about their involvement in Nazi war crimes. And he and J. Edgar Hoover were really the two linchpins in this, in developing this strategy of recruiting ex-Nazis as cold warriors, as anti-Soviet assets who, they believe, could gather intelligence for the U.S."
Dulles was not a perfect man, and holds much of the blame when it comes to US/corporate colonialism but to suggest the CIA was "built with" Nazis is taking it too far. To suggest that the Nazi legacy of the CIA somehow is connected to current day abuses of power is an even further leap of logic. Dulles saw former Nazis as valuable tools in his war/wars - there's not much else to it.
Recommended reading if you're curious about the CIA and it's origins, and how it effected/effects US policy: https://www.amazon.com/Brothers-Foster-Dulles-Allen-Secret/d...