The place where the human gods were hiding was within a unique world of its own. That world had been built when the God of Light had killed the Mother of Sea in the past, a magical object that was constructed with the Mother of Sea's God Kingdom as the main material. It could only be used once, but in the process of using its solo usage, even if the entire world's Divine Powers came together, they would not be able to find the people hiding within that world.
That was not all! In this hidden shelter, time passed at a different speed as compared to the outer world. Within this world, time passed at a much faster speed and this allowed the people hiding in it to have enough time to heal and recuperate. They could also make sufficient preparations for when they came out of hiding, where they would be able to immediately showcase their powers and place the situation in their favor quickly.