Salam alaikum,
I made an oath not to do certain act that I was addicted to in Return of which Allah would pass me in the Exam but after some time due to it I couldn’t get myself to study and had to break the promise in order get my mind back to studying. I thought it was better option.
Is paying kaffara obligatory for me?