Dobbs (Humphrey Bogart) is killed by the bandits. They take the donkeys and empty the bags of gold thinking that it's sand. The bandits try to sell the donkeys at the town where Dobbs, Curtin (Tim Holt) and Howard (Walter Huston) bought supplies and the donkeys when they started the search for gold. A local kid identifies the donkeys as the ones bought by the three treasure seekers and the bandits are arrested. Howard, Curtin and some of the locals (who treated Howard with great hospitality because he helped a boy who fell into a river) arrive at town and look for the bags of gold. When they see that the gold is being blown away by the wind, they laugh. Howard and Curtin go their separate ways and say good-bye to each other. Howard goes with the locals to continue living with them and Curtin goes to Dallas to pay a visit to Cody's wife.