遠慮近憂(えんりょきんゆう)

Japanese vocabulary

Meaning: failure to think of the long term leads to grief in the short term

See it used in real works