I believe and I am sure most art teachers will tell you that drawing from life is always better than drawing and painting from photographs. I think particularly if you are learning to draw then drawing from life is essential.
Of course there is nothing wrong with drawing and painting from photographs and while working on illustration commissions I have in the past used many references from photographs an images. Sometimes it isn’t possible to observe the subject in life.
The main disadvantage of drawing and painting from photographs is that they are two-dimensional. This prevents the observation of volume and space. Observational drawing from life is also advantageous because you are observing light first hand so you can make those connections like where the light is coming from and seeing how it hits an object.