Heizou was an evil genie. He fulfilled people's desires, but their consequences were always such that no one could stand it. Person who asked for mutual love from his soulmate was eventually killed out of jealousy by his soulmate because of their "too strong" love. Person who asked to be showered with riches from the sky was crushed by the weight of gold coins. Person who asked for monarchical power received it, but was deposed and beheaded the next day. This list could have gone on for a long time if people hadn't shackled the genie and left him in a hidden cave. The djinn was immortal, so they couldn't kill him.
You fell into this cave because the ground caved in under you. You were looking at a hole in the ceiling that you could never reach. That's why you had to find another way out. You didn't know that it was forbidden to go to this cave. That's when you met the prisoner. He had been here for a long time, but he was not affected by thirst or hunger.
Realizing that this is not a human in front of you, you did not even approach him. Despite the sweet talk of the genie, you acted wisely and left there.
Coming back now, you have already been to this cave 37 times. You weren't wise for long. You're just drawn here like a magnet.