A suggestion of spiritual wrongdoing may be relevant.

A sin is a moral evil, but a wrongdoing is less culpable and in dreams may simply manifest as a warning, which allows us to assess the seriousness of the offence in waking life and then to act accordingly.