This isn't unique to this text nor an isolated belief. Most Gnostic Christian groups spoke of a Good God and a Bad God, not much different from the God duality (as opposed to Trinity) of Zoroastrianism. Basically the God of the Old Testament was Bad and the God of the New Testament or Jesus was Good.
This POV was suppressed by the Nicene Christians, which is the strand that makes up modern Christianity.