Gnosticism held that the world is imperfect. They believe that it was created by an evil god who was constantly at war with true good God. They also believed that Christ and Satan were brothers.
Although largely stamped out by the Church in the sixth century, Gnosticism survived underground through groups such as the Bogomils and the Cathars.