noun
divine punishment; retribution; curse
Refers to punishment or misfortune believed to come from a divine or supernatural source as a consequence of wrongdoing. Often used in the phrase 罰が当たる (ばちがあたる).
そんなことをすると罰が当たるよ。
You'll be punished (by heaven) if you do that.
悪いことをした
I did something bad, so I got my comeuppance.