The Buddha shares the consequences of holding on to right views and acting upon them based on his direct knowledge.
Sammādiṭṭhika sutta - Who Has Right View
This was said by the Blessed One, said by the Arahant, as I have heard:
"Bhikkhus, I have seen beings endowed with good bodily conduct, good verbal conduct, and good mental conduct, who do not slander the Noble Ones, who hold right views, and who undertake actions based on right views. After the breaking up of the body, after death, they are reborn in a fortunate state, in a heavenly world.
But, bhikkhus, I do not say this having heard it from another ascetic or brahmin. Bhikkhus, I have seen beings endowed with good bodily conduct, good verbal conduct, and good mental conduct, who do not slander the Noble Ones, who hold right views, and who undertake actions based on right views. After the breaking up of the body, after death, they are reborn in a fortunate state, in a heavenly world. Moreover, bhikkhus, what I have known for myself, seen for myself, and realized for myself, that is what I declare.
Bhikkhus, I have seen beings endowed with good bodily conduct, good verbal conduct, and good mental conduct, who do not slander the Noble Ones, who hold right views, and who undertake actions based on right views. After the breaking up of the body, after death, they are reborn in a fortunate state, in a heavenly world."
The Blessed One spoke on this matter. In this regard, it is said:
"With a mind set on right intentions, and having spoken right speech; Having undertaken right actions with the body, a person here -
Learned and a doer of merit, though this life is short; After the body's break-up, that discerning one is reborn in a heavenly world."
This matter too was spoken by the Blessed One, as I have heard.