Verb[ない] + ばかりに
[i-adj] + ばかりに
[na-adj] + な + ばかりに
[noun] + である + ばかりに
The grammar structure ばかりに expresses that solely because of one reason, an unfortunate or undesirable result occurred. It carries a strong nuance of regret, frustration, or blame, emphasizing that if not for that single cause, the negative outcome would not have happened.
Verb[た] + ばかりに
Verb[ない] + ばかりに
い-adjective + ばかりに
な-adjective + な + ばかりに
Noun + である + ばかりに
The result clause with ばかりに is almost always negative or undesirable. The speaker looks back at the cause and feels that it alone was responsible for the bad outcome. This makes ばかりに different from simply saying から or ので; it adds a layer of emotional weight – regret, resentment, or a sense of injustice.
Both ばかりに and せいで express a negative cause-and-effect relationship. However, ばかりに places stronger emphasis on the singularity of the cause ("if only that one thing hadn't happened…"), while せいで simply blames the cause without necessarily implying that it was the sole factor.