Freud also believed that free will is an 'illusion' but he emphasised the influence of biological drives and instincts
He saw human behaviour as determined by unconscious conflicts, repressed in childhood.
There is no such thing as an accident, according to Freud, and even something as seemingly random as a 'slip of the tongue' can be explained by the influence of the unconscious.