Fact of life - engines fail, albeit rarely.
Other fact - aircraft don't fall out of the sky because of engine failure. They land quite easily providing the rest of it is intact. You will learn all about this during your training and realise that, providing you
fly the aircraft it's perfectly manageable.
There are more probably more accidents / incidents with serviceable engines than there are without