Read the following sentence:
"His words were a lighthouse, guiding her through the stormy seas of doubt."
Which of the following figurative language techniques is primarily used in the sentence above?