By building a dam on the river, the men managed to ......... a disaster. Without it the village would have been flooded for sure.