Hamel sainthood sends mixed papal message

If the murderers of Fr Hamel killed him in odium fidei, that means this was a religiously motivated murder. How does this square with the pope’s belief that Islam is a religion of peace?