Upayanti Sutta (SN 12:69)
I have heard that on one occasion the Blessed One was staying near Sāvatthī in Jeta’s Grove, Anāthapiṇḍika’s monastery. There he addressed the monks, “Monks, the great ocean rising causes the large rivers to rise. The large rivers rising cause the little rivers to rise. The little rivers rising cause the large lakes to rise. The large lakes rising cause the little lakes to rise.
“In the same way, ignorance rising causes fabrications to rise. Fabrications rising cause consciousness to rise. Consciousness rising causes name-&-form to rise. Name-&-form rising causes the six sense media to rise. The six sense media rising cause contact to rise. Contact rising causes feeling to rise. Feeling rising causes craving to rise. Craving rising causes clinging to rise. Clinging rising causes becoming to rise. Becoming rising causes birth to rise. Birth rising causes aging-&-death to rise.
“Monks, the great ocean ebbing causes the large rivers to ebb. The large rivers ebbing cause the little rivers to ebb. The little rivers ebbing cause the large lakes to ebb. The large lakes ebbing cause the little lakes to ebb.
“In the same way, ignorance ebbing causes fabrications to ebb. Fabrications ebbing cause consciousness to ebb. Consciousness ebbing causes name-&-form to ebb. Name-&-form ebbing causes the six sense media to ebb. The six sense media ebbing cause contact to ebb. Contact ebbing causes feeling to ebb. Feeling ebbing causes craving to ebb. Craving ebbing causes clinging to ebb. Clinging ebbing causes becoming to ebb. Becoming ebbing causes birth to ebb. Birth ebbing causes aging-&-death to ebb.”
See also: SN 12:23