Does Jesus mention the worms and fire more than once? You might want to check that.
But more importantly, the one time He does mention it (Mark 9:48), He is quoting from the last verse in Isaiah. In that verse we see that the worms and fire are consuming dead bodies, not tormenting living people.
ESV Isaiah 66:24 "And they shall go out and look on the dead bodies of the men who have rebelled against me. For their worm shall not die, their fire shall not be quenched, and they shall be an abhorrence to all flesh."
Those will be the BODIES, not the SOULS. Of course, their mortal bodies will be destroyed, as will ours.
And in Mark 9, Jesus repeats it 3 times, mentioning HELL FIRE. (For the saved, any missing body parts will be replaced on their new bodies.)
The original gehenna was the garbage dump outside Jerusalem which was kept ablaze to hold the odor down & reduce the volume of the waste. This fire was so large that rain couldn't quench it. But, the whole thing didn't burn at once. Animal carcasses were dumped there, and also the bodies of criminals. When those bodies didn't burn, there were maggots (worms) present til the bodies were consumed.Flies have a quick life cycle, so it appeared the worms never died, as they were being constantly replenished. But that fire eventually burned itself out, of course, when Jerusalem was destroyed, & the maggots disappeared when they ran outta food. I believe men back then knew that fire would eventually end.
But more than one verse of Scripture says the fire of hell is eternal. He told Peter it was originally created for the devil & his angels, which implies it's for punishment. God does nothing uselessly, so why would He make the fire of hell eternal except for eternal punishment?
I, personally, don't plan to find out firsthand how eternal the souls of the lost are, but by teaching a false doctrine, YOU are risking making an awful discovery for yourself !