But for (someone or something)

If it were not for someone or something.

The man would have easily got the new job, but for the fact that he was not honest about his previous experience.