Dreaming you are killed can mean other interpretations besides the physical killing. This type of dream interpretation says that your old self was killed, but in order that a new self will emerge.
Do the dream imagery suggest you were killed because you were too kind to others? This means you were taken advantage of.
Does the dream meaning hint you were killed yourself because of sacrifice for others? This means you were a casualty of circumstances.