In the movie, Sophia Loren plays a young woman who grew up in an orphanage run by nuns. There's a scene where she and another orphan boy, in a fit of rage, bite scorpions.
This isn't a common plot point in many films, so the details you've given make it highly likely to be this particular movie.