The arts teach and moralise by their beauty alone, not by translating a philosophical or social formula. For the truly artistic person, painting has itself as it's purpose, which is quite enough.
No synonym for God is so perfect as Beauty. Whether as seen carving the lines of the mountains with glaciers, or gathering matter into stars, or planning the movements of water, or gardening - still all is Beauty!