This discourse was taught by the Blessed One, taught by the Arahant, the fully enlightened Supreme Buddha. This is as I heard:
“Monks, there are two things that cause no remorse. What are the two? Here, there is a person who has done what is good, has done what is wholesome, has made merit that protects his life, and has done what is good and wholesome.
This is the meaning of what the Blessed One said. So, with regard to this, it was said:
Having abandoned bodily misconduct, verbal misconduct, mental misconduct, and whatever else is flawed, not having done what is unwholesome, having done much that is wholesome, at the breakup of the body, that wise one is reborn in heaven.
This, too, is the meaning of what was said by the Blessed One. This is exactly as I heard.