Esdras used his quick wits and devised a method on the fly, but it came at a cost. He was cramped, his body was under tremendous pressure and he couldn't stay down here too long without air.
He detected that something was wrong but because his senses were disturbed he couldn't put his finger on what it was so he decided to just kill the goblin and be done with it.
Who would have expected that the whole thing was a trap, yet he was certain he heard the goblin talking to him. How could he have done that? The source of the voice was surely from the puppet.
The goblin was much more dangerous than expected, so he must not dally.
The thing that saved his life was that he attacked from far away, if he was a melee fighter he would have been done for.
Esdras extended his mana and manipulated the earth to crawl out, his clothes were ruined but he was otherwise unharmed.