but for (something)

but for (something)

Except for something; if not for something. That major home repair would have sent me into debt but for my emergency fund.
See also: but