The philosopher Spinoza thought beauty was a dangerous thing. It calls to unreason. Only rational man is free (freedom is his highest ideal) so man must not cultivate the irrational, i.e. what makes him a slave.
This is reminiscent of Plato. He won´t allow either the painter or the poet into his Republic. They imitate the inferior part of one´s soul, he says—that which is easiest to imitate but which is an enemy to reason and even common sense. They foster all the wrong things (the “right” things are “the useful things”—useful to society, but also useful to the individual, to his ability to live and carry on.). When you are down and alone, for instance, it is unwise to dwell on your grief. And grief is one of the favorite subjects of the poet and the tragedian.
You have to distinguish between the beauty of nature (a sunset, the naked body) and artistic beauty (a picture of a sunset, the artistic nude). In one way these are very different since art is a rendering, an interpretation of natural beauty. Though it springs from instinct, it follows the order our reason projects on the world.
But in another way they are the same, since art is really “only”an effort to capture and make natural beauty permanent—to draw out the pleasure of it, to make it last, to improve on it, make it more intense.