That statement is true
According to Freud, the dream symbols appear from erotic stimuli that we felt in our everyday live and carried out within our subconscious when we sleep. He stated that dreams essentially is just a mean for people to satisfy the sexual needs or fantasy that they usually cannot fulfill in their everyday life.