scratch by

Intermediário superior (B2) informal

To just barely have enough money to live, with nothing extra.

"After the factory closed, many families in the town were left scratching by on unemployment benefits."