Fetching details from the dictionary...
(simply) because; on account of
as if to; (as though) about to
油断したばかりに事故に遭った。
Just because I let my guard down, I had an accident.
急いだばかりに間違えてしまう。
Simply because I was in a hurry, I made a mistake.
嘘をついたばかりに信用を失います。
Just because I lied, I lose trust.