They entrusted the money to the men who supervised the work on the temple of Yahweh. These men paid the workers who repaired and restored the temple.