Read the following excerpt from a speech addressed to a community during a public health crisis. Then answer the question that follows:
“In this moment of uncertainty, let us not give in to despair, as the waves of adversity crash upon our shores. Instead, let us stand resolute and buoyant, like a ship navigating storm-tossed seas, ready to harness the winds of change that this crisis has forced upon us. Our collective strength is akin to a lighthouse—a beacon of hope guiding us through the darkest of nights. Together, we can steer toward a brighter horizon.”
Which rhetorical device is primarily employed in this excerpt to convey the speaker's message of resilience and hope?