what is the catholic teaching of gnosticism?
Gnostics considered the principal element of salvation to be direct knowledge of the supreme divinity in the form of mystical or esoteric insight. Many Gnostic texts deal not in concepts of sin and repentance, but with illusion and enlightenment.