Looks like penance to me.
Sometimes 30 Hail Marys and 50 Our Fathers and doing the rosary a dozen times or so just isn’t enough.
Or indulgences. Get out of purgatory early material.