Gnosticism
The real God who is good, is distant and not easy to know. In order to get free from the material world, a person has to get gnosis.  That is the special secret knowledge given only to a few special people.