The question contains a common misreading. Sonnet 18 rejects the summer comparison—it doesn't celebrate it.
Shall I compare thee to a summer's day?
Thou art more lovely and more temperate:
Rough winds do shake the darling buds of May,
And summer's lease hath all too short a date...
The opening line ("Shall I compare thee to a summer's day?") is so famous it's mistaken for the poem's thesis. Actually, it's the rejected comparison. The poem's true claim: poetry immortalizes beauty better than nature preserves it.
Summer youth fades. The poem's "eternal lines" don't. Shakespeare isn't praising summer—he's praising his own art's power to defeat time.