To see maggots in your dream, represents your anxieties about death.
It may also represent some issue or problem that you have been rejecting, and it is now “eating away” at you . You need to confront it because it is destroying your sense of harmony and balance.
In particular, to dream that you are stepping on maggots, indicates guilt and impurity. You are trying to repress your “immoral” thoughts or behavior.