Abu Huraira reported Allah's Messenger ﷺ as saying: An Apostle from amongst the Apostles of Allah encamped under a tree, and an ant bit him, and he commanded his belongings to be removed from underneath the tree. He then commanded and it was burnt, and Allah revealed to bin):" Why one ant (which had bitten you) was not killed?"
The lesson here is that we should always show mercy towards all living beings no matter what size or species they belong to as all life forms are important in their own way and deserve respect from us humans who have been given more power than them by Allah Almighty Himself. We must remember that if we do not show mercy towards others then why would anyone else show mercy towards us?