One with whom was knowledge of the Scripture said: “I will bring it to you within the twinkling of an eye!” Then when he [Sulaimân (Solomon)] saw it placed before him, he said: “This is by the Grace of my Lord – to test me whether I am grateful or ungrateful!
And whoever is grateful, truly, his gratitude is for (the good of) his own self;
and whoever is ungrateful, (he is ungrateful only for the loss of his own self).
Certainly! my Lord is Rich (Free of all wants), Bountiful.” ( 27:40)
هَذَا مِن فَضْلِ رَبِّي
Pleasure, beauty and perfection is indeed a test from Allah s.w.t.