6
The mishna in Sanhedrin 6:2 explains how, when the condemned is being led out to be executed, they urge him to confess so he can have a portion in the world to come. This mishna ends:
רַבִּי יְהוּדָה אוֹמֵר, אִם הָיָה יוֹדֵעַ שֶׁהוּא מְזֻמָּם, אוֹמֵר תְּהֵא מִיתָתִי כַּפָּרָה עַל כָּל עֲוֹנו...