Complex sentence: All obscene and irreligious stimuli are to be avoided as purity of both thought and action is important.
Split into simpler sentences: All obscene and irreligious sights and sounds are to be avoided. Purity of both thought and action is important.