Jabir b. Abdullah reported Messenger of Allah ﷺ as saying. My example and your example is that of a person who lit the fire and insects and moths began to fall in it and he would be making efforts to take them out, and I am going to hold you back from fire, but you are slipping from my hand. (Using translation from Muslim 2285)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ مَثَلِي وَمَثَلُكُمْ كَمَثَلِ رَجُلٍ أَوْقَدَ نَارًا فَجَعَلَ الْفَرَاشُ وَالْجَنَادِبُ يَقَعْنَ فِيهَا قَالَ وَهُوَ يَذُبُّهُنَّ عَنْهَا قَالَ وَأَنَا آخِذٌ بِحُجَزِكُمْ عَنِ النَّارِ وَأَنْتُمْ تَفَلَّتُونَ مِنْ يَدِي