The verses from Peter refer to the spirits of the “Sons of God” who were imprisoned in the bottomless pit for their disobedience, in the days of Noah. That’s the only sensible reason for that reference to be in there. Otherwise, you must conclude that Jesus only preached to people who had died long ago, and just skipped over the dead in all those intervening centuries.
The verse from Revelation also is not supportive of purgatory, since we know from Rev. 13:8 that the names were written in the Book of Life before the foundation of the world. Therefore, you can’t write your name in now by “purging” yourself.
Clearly there is a third state that is niether heaven nor hell. Do you see that?