Mahāvagga

Suttapiṭaka · Khuddakanikāya · Paṭisambhidāmagga · Vol. 31 · Section 143

[143] How is wisdom in emerging and turning away from both (dubhato vuṭṭhāna-vivaṭṭana) knowledge (ñāṇa) of the path? At the moment of the path of stream-entry (sotāpattimagga), right view, in the sense of seeing, emerges from wrong view; it emerges both from the defilements that follow in its train and from the aggregates; and externally it emerges from all signs. Therefore it is said: wisdom in emerging and turning away from both is knowledge of the path. Right thought, in the sense of directing [the mind] onto [its object], emerges from wrong thought; it emerges both from the defilements that follow in its train and from the aggregates; and externally it emerges from all signs. Therefore it is said: wisdom in emerging and turning away from both is knowledge of the path. Right speech, in the sense of embracing, emerges from wrong speech; it emerges both from the defilements that follow in its train and from the aggregates; and externally it emerges from all signs. Therefore it is said: wisdom in emerging and turning away from both is knowledge of the path. Right action, in the sense of originating, emerges from wrong action; it emerges both from the defilements that follow in its train and from the aggregates; and externally it emerges from all signs. Therefore it is said: wisdom in emerging and turning away from both is knowledge of the path. Right livelihood, in the sense of cleansing, emerges from wrong livelihood; it emerges both from the defilements that follow in its train and from the aggregates; and externally it emerges from all signs. Therefore it is said: wisdom in emerging and turning away from both is knowledge of the path. Right effort, in the sense of exertion, emerges from wrong effort; it emerges both from the defilements that follow in its train and from the aggregates; and externally it emerges from all signs. Therefore it is said: wisdom in emerging and turning away from both is knowledge of the path. Right mindfulness (sati), in the sense of establishing, emerges from wrong mindfulness; it emerges both from the defilements that follow in its train and from the aggregates; and externally it emerges from all signs. Therefore it is said: wisdom in emerging and turning away from both is knowledge of the path. Right concentration (samādhi), in the sense of non-distraction, emerges from wrong concentration; it emerges both from the defilements that follow in its train and from the aggregates; and externally it emerges from all signs. Therefore it is said: wisdom in emerging and turning away from both is knowledge of the path.

English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.

This passage also appears in 1 other place