Psalm 90:4 For a thousand years in thy sight are but as yesterday when it is past, and as a watch in the night.
Same literary device. The scripture uses metaphors too.