(1) The robber may be anyone or any part of yourself that threatens your independence or your chances of finding personal fulfilment. Is treasure stolen? The treasure is your (true) self.
(2) In a woman’s dream it is possible that the robber may be her father or her mother, in which case what she has been robbed of may be her penis! According to Freud, a female infant, seeing boys’ genitals, feels she has been castrated to prevent the fruition of her love for her mother.
Similarly, men may dream of their father as a robber. A male infant, said Freud, desires his mother and fears that his father may castrate him out of jealousy.
The occurrence of such dreams might suggest that the Oedipus complex has not been resolved in the dreamer. (For Oedipus complex).
[1]