Saying something is like something else.
or
Saying something is as _____ something else.
Simple examples
Time is like a thief.
The world is like a stage.
Charlie is as bright as a star.
Life is as dangerous as a journey into the unknown.
School is like a key.
Writing Ninja