As President, I refuse to set goals that go beyond our responsibility, our means, or our interests. And I must weigh all of the challenges that our nation faces. I don't have the luxury of committing to just one. Indeed, I'm mindful of the words of President Eisenhower, who -- in discussing our national security -- said, "Each proposal must be weighed in the light of a broader consideration: the need to maintain balance in and among national programs."
Over the past several years, we have lost that balance. We've failed to appreciate the connection between our national security and our economy. In the wake of an economic crisis, too many of our neighbors and friends are out of work and struggle to pay the bills. Too many Americans are worried about the future facing our children. Meanwhile, competition within the global economy has grown more fierce. So we can't simply afford to ignore the price of these wars.
All told, by the time I took office the cost of the wars in Iraq and Afghanistan approached a trillion dollars. Going forward, I am committed to addressing these costs openly and honestly. Our new approach in Afghanistan is likely to cost us roughly $30 billion for the military this year, and I'll work closely with Congress to address these costs as we work to bring down our deficit.
But as we end the war in Iraq and transition to Afghan responsibility, we must rebuild our strength here at home. Our prosperity provides a foundation for our power. It pays for our military. It underwrites our diplomacy. It taps the potential of our people, and allows investment in new industry. And it will allow us to compete in this century as successfully as we did in the last. That's why our troop commitment in Afghanistan cannot be open-ended -- because the nation that I'm most interested in building is our own.
Now, let me be clear: None of this will be easy. The struggle against violent extremism will not be finished quickly, and it extends well beyond Afghanistan and Pakistan. It will be an enduring test of our free society, and our leadership in the world. And unlike the great power conflicts and clear lines of division that defined the 20th century, our effort will involve disorderly regions, failed states, diffuse enemies.
So as a result, America will have to show our strength in the way that we end wars and prevent conflict -- not just how we wage wars. We'll have to be nimble and precise in our use of military power. Where al Qaeda and its allies attempt to establish a foothold -- whether in Somalia or Yemen or elsewhere -- they must be confronted by growing pressure and strong partnerships.
And we can't count on military might alone. We have to invest in our homeland security, because we can't capture or kill every violent extremist abroad. We have to improve and better coordinate our intelligence, so that we stay one step ahead of shadowy networks.
We will have to take away the tools of mass destruction. And that's why I've made it a central pillar of my foreign policy to secure loose nuclear materials from terrorists, to stop the spread of nuclear weapons, and to pursue the goal of a world without them -- because every nation must understand that true security will never come from an endless race for ever more destructive weapons; true security will come for those who reject them.