What text shows belief in purgatory?

2 Maccabees 12. We can also show it by noting that in Mal3:2 God is a refiner's fire: "Who can stand when He appears?". So the soul must be pure to be united with Him forever - not just total corruption as Luther held.