the writing is on the wall
From the Biblical story in Daniel 5 where mysterious writing appearing on a wall during a feast held by King Belshazzar points to the downfall of the Babylonian Empire: see writing on the wall.