Five foolish virgins were reborn and saved, and they were also given eternal life by the spirit of Christ. From then on, they left the punishment of the lake of sulfur and fire forever. As Paul said, he saved us from that great death. Now he still wants to save us, and he is expected to save us in the future.
The first salvation mentioned here is to save believers from the punishment of the lake of fire, but they may not be able to enter the kingdom of heaven. In the future, only the victorious believers can enter, and the unsuccessful believers, such as the foolish virgin Mary, are shut out.