Updated

This is a RUSH transcript from "The O'Reilly Factor," October 7, 2014. This copy may not be in its final form and may be updated.

Watch "The O'Reilly Factor" weeknights at 8 p.m. and 11 p.m. ET!

Hi, I'm Bill O'Reilly. Thanks for watching us tonight.

No "Talking Points" memo so we can get right to former Secretary of Defense and CIA Chief Leon Panetta. His new book "Worthy Fights" is out today and is destined to be a bestseller. In the book Mr. Panetta talks about terrorism, presidential leadership and touches briefly on Benghazi.

He also tells the moving story of his immigrant parents and his own rise to become one of the most powerful men in the United States. From July 1994 to January '97, Mr. Panetta was President Clinton's chief of staff. Before that he had been a congressman from California for 16 years. He left Washington in '97 but returned in 2009 to become the director of the Central Intelligence Agency under President Obama. In 2011 he became Secretary of Defense. A position he held until February of last year. Simply put Leon Panetta knows plenty about to how the U.S. government really works.

This morning on the "Today" show, Mr. Panetta was asked about ISIS and about why President Obama pulled all U.S. troops out of Iraq instead of leaving a force behind.

(BEGIN VIDEO CLIP)

PANETTA: I think he really did want to try to do what was right, but his feeling was if Maliki doesn't want it, you know, why should we keep pushing on this?

(END VIDEO CLIP)

O'REILLY: Maliki being the incompetent Prime Minister of Iraq who was forced to resign after ISIS overran parts of Iraq earlier this year.

Leon Panetta joins us now. So by not leaving U.S. troops in Iraq, President Obama committed a colossal blunder, did he not?

PANETTA: Yes. There's no question that not maintaining a true presence in Iraq so that we could continue the momentum towards trying to secure that country and try to hope that it could govern itself in the right way -- I think was a mistake.

O'REILLY: All right. I say it was a colossal blunder, not just a mistake, a mistake is -- uh, driving your rear-view fender into the wall when you're parking your car. This is a colossal blunder that has led to the deaths of tens of thousands of people because ISIS has now expanded throughout Syria and Iraq and the slaughter -- even today slaughtering people.

Now, the why of it. So you and a bunch of other people, Hillary Clinton, Secretary of State went in and said, you know what, you've got to keep some troops there. Did you pound the table like I would have? Or were you diplomatic like you usually are?

PANETTA: Well and I think we made a very strong case that we had to maintain at least 10,000 troops.

O'REILLY: And you looked him in the eye and you said, I, Leon Panetta, Secretary of Defense -- and I'm assuming Mrs. Clinton did the same thing -- I, Hillary Clinton, Secretary of State, and I'm assuming the CIA did the same thing.

PANETTA: Exactly.

O'REILLY: All three of you looked Barack Obama in the eye like I'm looking you in the eye right now and said, "You have to keep forces there." And he said, "Well, I don't --

PANETTA: Well Bill, just to keep the record straight here, I think the President did support providing that $10,000 --

O'REILLY: Troops.

PANETTA: -- 10,000-troop presence in Iraq and supported CIA operations, supported the diplomatic operations that we wanted to continue. The real issue was how hard did he fight to make it happen?

O'REILLY: He didn't fight hard at all.

PANETTA: That's the issue that I raised.

O'REILLY: He didn't do anything. Maliki said, because Maliki is being threatened by the Iranians as you know, the Iranians didn't want the force in there, did they?

PANETTA: No.

O'REILLY: No.

PANETTA: The Iranians were trying to influence Maliki.

O'REILLY: Right so Maliki fold to the Iranians and Obama didn't say, we're keeping those guys in because Maliki couldn't have gotten them out. And so, all right, we know what happened. You know what bothers me here, and you're part of the problem here, is that the United States is caught by surprise by everything. All right? ISIS, we didn't know. Clapper didn't tell me. You saw that, right? On "60 Minutes," did you see it?

PANETTA: That's right. I saw the --

O'REILLY: That's embarrassing. Isn't that embarrassing?

PANETTA: Well, I think that when things like that happen, it's more than just an intelligence failure, it's a policy failure as well.

O'REILLY: But he didn't admit that, did he, the President?

PANETTA: Well, I think, you know, the fact is when you look at all of the issues --

O'REILLY: Did he admit that on "60 Minutes" that it was his fault? Did he say it was his fault?

PANETTA: Well I think he -- no, he quoted Jim Clapper as saying that intelligence failed. I understand pointing to Clapper's comment here, but I think when you look at the situation, it's more than just an intelligence failure. It's a policy failure.

O'REILLY: Ok. Have you ever heard Barack Obama in your conversations with him as CIA chief and Defense Secretary say "I was wrong, I made a mistake."

PANETTA: I have heard him admit to mistakes. The real question is whether or not you learn from those lessons and then do the right thing.

O'REILLY: And obviously in your book you don't think he learned from the lessons.

PANETTA: Well, he certainly has learned the importance of now taking on ISIS and going to war against ISIS.

O'REILLY: Oh, bull.

PANETTA: Well he's -- look.

O'REILLY: Come on, he tells the enemy we are not even going to put soldiers on the ground to get you.

PANETTA: Well wait a minute. Let me answer your question. He now has made very clear that we ought to maintain 10,000 troops in Afghanistan. Obviously, he worked at that, he worked with --

(CROSSTALK)

O'REILLY: He had to do that.

PANETTA: The new leadership yes but --

O'REILLY: Had to.

PANETTA: -- that's something we should have done in Iraq.

O'REILLY: All right let me stop you here. I mean I read your book, all right?

PANETTA: Good. I'm glad you did.

O'REILLY: Yes and I'm sorry, but according to you, he hasn't learned from his mistakes and he doesn't admit his mistakes.

PANETTA: Well, I want him to learn from his mistakes.

O'REILLY: I know you want him to but he doesn't.

PANETTA: You should want the President --

O'REILLY: Sure I do.

PANETTA: You want the President to succeed. I want the President to succeed.

O'REILLY: You know what I want all Americans to be protected and we are not being protected. ISIS caught him by surprise, correct? Correct?

PANETTA: Yes. That's what he admitted.

O'REILLY: Ok Putin getting Crimea caught you by surprise, correct? Correct? That's pretty big. That's pretty big.

PANETTA: No we know what Putin did in Crimea.

O'REILLY: Right but you didn't know he was going to do it. All right ok.

PANETTA: I don't know if he knew whether or not Putin --

O'REILLY: 75,000 children from Guatemala, Honduras come to the border. This administration is caught by surprise. You see the big picture here? I'm sure you do, you're smarter than I am. You're much smarter than I am. The big picture is the Obama administration doesn't know what the deuce is doing on.

PANETTA: I think the big picture is that this is a President who I think wants to do the right thing for the country. The real question is, whether or not he's willing to --

O'REILLY: All right so did John Tyler, all right? Ok? There's a performance level, is there not? This is -- would you say to be fair -- and I know I'm being tough on you, but that's what I get paid to do, all right?

PANETTA: Yes.

O'REILLY: Would you say that President Obama's foreign policy has been effective? Yes or no?

PANETTA: Yes, but Bill, you've got to put this in context and let me do that, ok, just to be fair. In the four years that I was there President Obama supported the operations I was involved in, in the CIA. He supported the bin Laden operation.

O'REILLY: He had to.

PANETTA: He supported the operations we did at the Defense Department. I think he provided pretty strong leadership with regards to the war on terrorism. I think the last two years have been a lot of mixed messages in terms of what the United States' role is going to be. And now I think he's back with the position on ISIS, I think he's beginning to see that we have to take a strong stand against terrorism.

O'REILLY: Beginning to?

PANETTA: Well, he's back to seeing how important that grid is.

O'REILLY: How many people have to die -- how many people have to die and be beheaded -- beginning to? Look here's my beef in the big picture. Drones, very good. I got no problem with that. You guys did an excellent job, you found them, you killed them you should have done. Bin Laden, don't give me that this was a brave thing. The CIA and under your direction, found him -- all right? Where's the doctor, the Pakistani doctor that helped you do that, where is he? Where is he?

PANETTA: He's in Pakistan.

O'REILLY: Yes. Where? Where?

PANETTA: In prison.

O'REILLY: In prison. Why hasn't our President gotten him out? Why?

PANETTA: We have made a lot of requests to the Pakistanis to do the right thing.

O'REILLY: Yes are we still sending them money? Yes.

PANETTA: Of course, we are sending them money and we're continuing to.

O'REILLY: Why? That doctor is in jail. You shouldn't be sending them a cent until he gets out. You see what I'm talking about, there's a way to do stuff.

And I tell you what, our enemies throughout the world, and this includes China and Russia, do not fear the United States now. Do they?

PANETTA: It's very important when the President says something that we do it. And I think that's one of the problems with taking the position on chemical warfare in Syria -- that we drew a line and we get to stand by it.

O'REILLY: Give me a straight answer. Do our enemies throughout the world fear us?

PANETTA: I think they are getting a mixed message as to whether or not the United States will stand by its word.

O'REILLY: Ok so I'm taking that as a no because that emboldens as you know the bad guys if they don't fear you, then they go and they do bad things. Because Putin knows nobody is going to stop him, correct?

PANETTA: When you deal with Putin, you've got to deal with him from strength now weakness.

O'REILLY: Have we been dealing with Putin from strength?

PANETTA: When you deal with Putin you've got to make big --

(CROSSTALK)

O'REILLY: Have we been dealing with Putin from strength?

PANETTA: I would have taken some very tough positions with regard to Putin not just sanctions but I would have also provided military aid to the Ukrainians. I would have resurrected the whole issue on missile defense. I would make sure that NATO was strengthened in terms of the surrounding countries. And I would provide an additional energy resource to other countries to make clear to Russia that they alone cannot blackmail these countries through energy.

O'REILLY: That was not done. Why was it not done?

PANETTA: Well, I think that's the kind of tough position that needs to be taken if we're going to confront Putin.

O'REILLY: All right so just to be fair, I'm just recapping -- we're going to hold Mr. Panetta over unless the Secret Service agents shoot me or beat me up for two more segments.

In the initial part of this interview, I'm seeing a President, all right, from your eyes, former CIA chief, former defense secretary, who is either incapable or doesn't understand the dangers that the United States faces. That's the message I'm getting from you.

PANETTA: I think this President is smart enough to understand the dangers. The real question is, can he translate that into the kind of action that will help protect this country?

O'REILLY: Ok. So, so far he has not done that, except for the drones, all right? Why? Is he not a courageous man? Does he not trust the military? What is it that holds him back from doing the tough things that neutralize our enemies?

PANETTA: But Bill, he is taking the right step for now with regards to ISIS.

O'REILLY: I don't believe that.

PANETTA: We are going to war against ISIS we're doing air attacks against ISIS. We have troops in Iraq to try to help the Iraqis. I mean I do believe that the President understands that ISIS represents a real threat to this country and that we have to confront them.

O'REILLY: Here is how impotent President Obama's foreign policy is. Right now as we speak, people are being murdered on the border of Syria and Turkey by ISIS. Number one, we didn't bomb ISIS as they approached the town that they're siegeing. Why? I don't know, we didn't do it.

Number two, the Turkish army is on the border within eyesight of the slaughter and won't come over to fight ISIS. Are you kidding me? This is -- ISIS is winning. They are winning because the West and the anti-terror forces don't have the will to confront them.

PANETTA: ISIS is going to be a tough and resilient enemy. There's no question about it. I think we are taking steps to try to confront them. I think the problem is this is going to be a long and sustained effort. And I don't know that the American people are prepared for that, but I think the President has an obligation to say to this country, we are confronting an enemy in ISIS. This is going to take time and we've got to be committed to doing everything necessary to defeat that enemy.

O'REILLY: Would I be wrong and a mean guy to say, I don't believe Barack Obama has the stomach for the fight?

PANETTA: Look, I'm a guy who believes that Barack Obama by virtue of what I've seen from the time I was there, has the guts to do the right thing. The real question is, will he make the decision to do it?

O'REILLY: Ok, let's take a break. I have many more questions. And we'll be back in just a few moments.

Content and Programming Copyright 2012 Fox News Network, LLC. ALL RIGHTS RESERVED. Copyright 2012 CQ-Roll Call, Inc. All materials herein are protected by United States copyright law and may not be reproduced, distributed, transmitted, displayed, published or broadcast without the prior written permission of CQ-Roll Call. You may not alter or remove any trademark, copyright or other notice from copies of the content.