Is it ethical to pay ransoms?

Two Canadian men have been beheaded after the government refused to pay ransoms to Filipino terrorists.

Earlier this week Prime Minister Justin Trudeau announced that a kidnapped Canadian man, Robert Hall, was beheaded after the government refused to pay a $16.6 million ransom to a Philippine Muslim extremist group. His fellow Canadian, John Ridsdel, was beheaded last month after a ransom the group demanded wasn’t paid.

Last week, Prime Ministers Justin Trudeau and David Cameron were successful in urging the other G7 nations to join Canada and the United Kingdom in agreeing not to pay ransoms to rescue their nationals kidnapped by terrorists.

Is that the right decision?