Could you tell me if I need to say I couldn't not do it or I couldn't have not done it?
My future career depended on the exam, so I couldn't not pass it.
My future career depended on the exam, so I couldn't have not passed it.
What I am trying to say is that I passed it because it was absolutely necessary.