the writing is on the wall

Fortgeschritten (C1) formal

It's obvious that something bad is coming.

"With falling sales and high debt, the writing was on the wall for the company."