Complex sentence: It means that the state should be guided by the principle that it should support no specific religion and so government funding should not be allocated for building churches or mosques and not favor any particular religion.
Split into simpler sentences: It means that the state should be guided by the principle that it should support no specific religion. This means that government funding should not be allocated for building churches or mosques, and not favor any particular religion.