...“There is the case where a woman or man when visiting a brahman or contemplative, does not ask: 'What is skillful, venerable sir? What is unskillful? What is blameworthy? What is blameless? What should be cultivated? What should not be cultivated? What, having been done by me, will be for my long-term harm & suffering? Or what, having been done by me, will be for my long-term welfare & happiness?' Through having adopted & carried out such actions, on the break-up of the body, after death, he/she reappears in the plane of deprivation… If instead he/she comes to the human state, then he/she will be stupid wherever reborn. This is the way leading to stupidity: when visiting a brahman or contemplative, not to ask: 'What is skillful?… Or what, having been done by me, will be for my long-term welfare & happiness?'
“But then there is the case where a woman or man when visiting a brahman or contemplative, asks: 'What is skillful, venerable sir? What is unskillful? What is blameworthy? What is blameless? What should be cultivated? What should not be cultivated? What, having been done by me, will be for my long-term harm & suffering? Or what, having been done by me, will be for my long-term welfare & happiness?' Through having adopted & carried out such actions, on the break-up of the body, after death, he/she reappears in a good destination… If instead he/she comes to the human state, then he/she is discerning wherever reborn. This is the way leading to discernment: when visiting a brahman or contemplative, to ask: 'What is skillful?… Or what, having been done by me, will be for my long-term welfare & happiness?'...
Cula-kammavibhanga Sutta: The Shorter Analysis of Action