Indecision between PhD and industry
First, we have 26 questions tagged phd+industry. Nothing that is a direct duplicate, but I'd still recommend you browse through them. This question and this question appear especially relevant.

Second, it will be hard for us to really answer your question, because we simply are not in your position. Yes, staying in academia and getting tenure is hard, and most people drop out. Until you get tenure, you will work your backside off. If you really love it, you can take the risk, but be prepared for a long, hard slog.

Third, that said, a couple of specific comments. You write that you love to teach. On the one hand, that raises a bit of a red flag to me, because teaching is not necessarily the top responsibility for a professor. Publications are far more important. If you want to become a professor, you will spend a decade writing papers and doing your teaching "on the side"... because you won't be able to get tenure based on your teaching alone. You can relax the research part and concentrate on teaching after getting tenure.

I am not familiar with the system in Italy. Im Germany, there are universities of applied sciences (used to be called Fachhochschule, nowadays Hochschule). You'll apply for a professorship there if you have a Ph.D. and at least five years experience in industry. Then you will do a lot of teaching. Teaching load at Hochschulen is twice as high as at "regular" universities and very applied, and conversely, you are really not expected to do a lot of research. If something comparable exists in Italy, this may be a potential career route for you.

Then again, if you just like to teach, you could try to go into industry and get a job as a trainer. You won't need a Ph.D. for that (in fact, you'd probably be overqualified with a Ph.D.). However, note that trainers are often on the road a lot.