God Was in the West, Too, at One Time (1968)
A stranger being chased by bandits dies in an accident, but not before he has had a chance to hide a treasure map the bandits wanted. A boy witnesses where it was hidden, retrieves it and passes it on to the local preacher. The preacher recognizes that much of the treasure was likely that from a local mission. He sets out to get it before the bandits find it.