"The collective unconscious contains both good and evil and seems
to be a vast storehouse of experience both past and potential.
Jung found that as psychic energy touched new depths in the collective unconscious,
it brought into the conscious certain images that fell into fairly
patterns.
These archetypes manifested themselves when the mind seemed off guard, often in dreams and reveries.
Jung classified them into three
stages according to the psychic depth from which they emerged."
excellent article comparing Jung to Buddhist psychology in Zen thinking.
Zen and Depth Psychology
Reiho Masunaga
https://www.jstage.jst.go.jp/article/ibk1952/9/1/9_1_394/_pdf/-char/ja