Afghan President Hamid Karzai says Afghanistan is not a hideout for terrorism , but a victim of it .