You’re onto something here. To be completely honest I’m too lazy to go into depth about it- but we Gnostics understand that God and The Devil symbolically work together to tempt the initiate for his own growth. It’s why The Devil always obeyed God when told to test Job. We use the term Kristus-Lucifer for a reason. They are in a sense equal as they are opposite polarities of the same thing. Not because we worship the Devil. But, I’ll just tell you meditating on the relationship between God and The Devil is very enlightening and will help overcome programming of the church and modern day understanding of Christianity.
Also, important to note God and The Devil aren’t anthropomorphic beings likes a lot of people believe. You can on one level look at The God and The Devil as symbols of the battle of the ego and the soul from a psychological perspective and the lessons extracted from comprehension of the ego and it’s temptations. Or you can say your Higher Self placing you in uncomfortable situations to help you grow. Temptation is fire. Triumph over temptation is light.
I’m sure a lot of what I’m saying will be misinterpreted and it’s literally impossible to explain something that needs to be intuitively understood anyway. Meditation on scripture brings true understanding. Not reading the dead letter like it’s a newspaper.