compare to; liken to
死を睡眠にたとえることがある。
Death is sometimes compared to sleep.
人が人生を航海にたとえるのをよく聞くでしょう。
You often hear people compare life to a voyage.
詩人はしばしば死を眠りにたとえる。
Poets often compare death to sleep.