Jennifer Robins is a former series producer and current storyliner on the show, and made the comments to an audience of media executives and religious leaders at the BBC's 'Re:Think' conference.
The Telegraph reports that Robins told the crowd: "The prototype of every EastEnders story can be traced back to one source: David and Goliath, Daniel in the Lions' Den, Samson and Delilah, Sodom and Gomorrah, the fall, all the Bible stories."
She also argued that "EastEnders slays all before it when it is moral to its core", before continuing: "Like the parables it offers hope and a morality where the good are rewarded and the bad punished either by death, rapid exit or karmically bound forever on a wheel of fire.
"Despite the twists and turns of the plotlines all our conclusions are essentially moral: good triumphs, evils is punished and the value of human life is asserted."
She cited storylines involving paedophila, assisted suicide and sham marriages as evidence that the soap was essentially a "morality play", and dismissed the idea that the programme had been tawdry, sensationalist and immoral.
Robins added that all plotlines were subject to intense research and consultation, particularly those involving religion.
When a theologian brought up the storyline of Lucas Johnson, an insane pastor who strangled his love rival, and pointedly asked how it fit into Robins's "Judeo-Christian discourse", she replied that the storyline was "before her time", and admitted that in 27 years of broadcasting there have been some "howlers".
The 'Re:Think' conference was held in Salford and organised by the team behind programmes such as Songs of Praise. Other guest speakers this year included Speakers included BBC journalist Jeremy Bowen, the Chief Rabbi Lord Jonathan Sacks and professor Richard Dawkins.