He said the suggestion that the country's foreign policy was based on Pakistan was wrong but stressed that the world was uniting against those sympathetic towards terrorists, an apparent reference to the neighbouring country.
"If you think we are doing so much hard work around the world to isolate one nation, then that is wrong. This is not our work. Yes, the world is grappling with the scourge of terrorism and whoever is sympathetic towards terrorists, the world is uniting against them," he told Times Now in an interview, according to the transcript.
Modi also praised US President Donald Trump for raising his voice against terror with "a lot of assertion".
"I welcome him and I respect him. Whoever takes a step against terrorism, I will welcome them and praise them, because my country has been suffering from terrorism for forty years. Innocents are being killed. Terrorism needs to end in the world," he said.
More From This Section
As far as Pakistan is concerned, he noted that he had always said India and Pakistan have fought a lot and now should come together to fight poverty and diseases.
On Israeli Prime Minister Benjamin Netanyahu praising him for his strong stance against terrorism, Modi said he was grateful to him for praising India so much and for lauding the Indian government.
"Humanity is in great danger and to save humanity, it's important for powers that believe in humanitarian values to unite.
"And I believe this fight is about saving humanity and nothing can be a bigger soft power than this," Modi said.
To a question about Kashmir and the appointment of the Centre's representative for a dialogue, the prime minister said dialogue does take place with every Indian citizen and it will continue to take place.
"Constitution of India has given us that responsibility and we do it. There is nothing new, this has been happening, and I have even said all of this from the ramparts of red fort. There is no difficulty in it," Modi said.
"Every Indian citizen has the right to speak to Mr Modi and say 'Mr Modi please stand and talk to us'. We are there for those who believe in the Constitution of India and for those who live and die for the nation," he said.