During the High Middle Ages, confession to a priest helped avoid eternal damnation, but one still had to undergo punishment to atone for sins. This was known as temporal punishment. It was called temporal because it was limited in duration rather than eternal.