(CNN)It's better to be smart than lucky.
A number of Ireland's St. Patrick's Day parades are being canceled over fears the mass gatherings would contribute to the spread of the coronavirus outbreak, Taoiseach Leo Varadkar said Monday.
The St. Patrick's Day festival in Ireland takes place annually from March 13-17.
Varadkar, the head of the Irish government, said that the virus cannot be stopped. But he said it can be slowed and its impact reduced.
One of the biggest parades, in Dublin, was due to happen next week. The city canceled the celebration over coronavirus fears.
"Due to the unique nature and scale of the St Patrick's Day festivities, in terms of size, the mass gathering of local and international travelers, and the continued progression of community transmission in some European countries, along with the emergence of a small number of cases of local transmission in Ireland, the Government has decided that St Patrick's Day parades, including the Dublin parade, will not proceed," the government said in a statement.
More than 500,000 revelers from around the world flood the city every year for the parade, according to the city's tourism department, so the cancellation could be a crushing blow to the local economy.
The parade was set to close out the five-day St. Patrick's Festival, which features performances from Irish artists, seminars and walking tours of the city.