Prime Minister Manmohan Singh and Afghan President Hamid Karzai, who discussed the Mumbai attacks here, said the incident showed that terrorism poses a threat to the entire humanity and all countries should fulfil their bilateral and multilateral obligations to prevent the scourge.

Karzai, who undertook the two-day visit here to show solidarity with India in the wake of Mumbai attacks, discussed with Singh ways to forge greater cooperation to defeat terrorism. India also shared with Karzai details of probe into Mumbai attacks.