Hi, I am looking for an old movie happening in the Desert (like Laurence of Arabia surroundings) where people have blindness issues possibly because of the sun or water.

I remember a scene where they cover the eyes of the actor on the sand, then put some drops hoping he might regain vision but there is a chance he might die.

The movie might even be sci-fi or surreal I'm not sure about it. Any thoughts?