Both have their own functions, and each is useful in its own way.
The final aim of morality is morality; of art, art, and nothing else..