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)
قَالَ رَسُولُ اللهِ ﷺ مَثَلِي وَمَثَلُكُمْ كَمَثَلِ رَجُلٍ أَوْقَدَ نَارًا فَجَعَلَ الْفَرَاشُ وَالْجَنَادِبُ يَقَعْنَ فِيهَا وَهُوَ يَذُبُّهُنَّ عَنْهَا وَأَنَا آخِذٌ بِحُجَزِكُمْ عَنِ النَّارِ وَأَنْتُمْتَفَلَّتُونَ مِنْ يَدِي