When we have a sense of failure in dreams this may be highlighting depression or spiritual frustration.

Such a feeling may indicate, before we are consciously aware of it, that we have not come up to our own expectations and feel we have let others down.