Punishment in a dream is read as guilt seeking resolution, or a feeling that you are being treated unfairly. Dream books ask what you believe you have done wrong.
When this appeared in your dream, what were you feeling?
My Cosmic Code has a private dream journal. Write a dream down and the app picks out the symbols in it, shows what dream books say about them and, over time, which words recur across your entries. The journal is stored on your device only.