Islam teaches us mercy but it also teaches us to guard the honor of our Prophet peace be upon Him. You can not only believe what you like and recject what you don't like. You have to look at the full picture. This is the result of liberal/western poising of Islamic teachings.I'm a believer in that narration, rather than the 'kill and behead' philosophy which depicts Islam as an intolerant religion (God forbid)
"On the day of the Conquest of Makkah, the Messenger of Allah [SAW] granted amnesty to the people, except four men and two women. He said: 'Kill them, even if you find them clinging to the covers of Ka'bah.'
https://quranx.com/Hadith/Nasai/DarusSalam/Volume-5/Book-37/Hadith-4072/