What does the condition about stars not setting achieve in the verse on resolve?

Purposes, Classifications, and Rhetorical Degrees of Simile