Exodus 15:26
24 So the people murmured against Moses, saying, “What can we drink?” 25 He cried out to the Lord, and the Lord showed him a tree. When Moses threw it into the water, the water became safe to drink. There the Lord made for them a binding ordinance, and there he tested them. 26 He said, “If you will diligently obey the Lord your God, and do what is right in his sight, and pay attention to his commandments, and keep all his statutes, then all the diseases that I brought on the Egyptians I will not bring on you, for I, the Lord, am your healer.” 27 Then they came to Elim, where there were twelve wells of water and seventy palm trees, and they camped there by the water.
Zechariah 6:15
13 Indeed, he will build the temple of the Lord, and he will be clothed in splendor, sitting as king on his throne. Moreover, there will be a priest with him on his throne and they will see eye to eye on everything. 14 The crown will then be turned over to Helem, Tobijah, Jedaiah, and Hen son of Zephaniah as a memorial in the temple of the Lord. 15 Then those who are far away will come and build the temple of the Lord so that you may know that the Lord of Heaven’s Armies has sent me to you. This will all come to pass if you completely obey the voice of the Lord your God.”’”
Notes and References
"... In this summary statement one hears the Deuteronomic charge, at the introduction of the blessings/curses section of the end of the Book of Deuteronomy (28:1), to the Israelites to obey Yahweh and his commandments. Various other pentateuchal passages (e.g., Exodus 15:26; Deuteronomy 11:13; Leviticus 26:14) contain similar statements if not identical phraseology. The use in Zechariah of this language, however, shifts the covenant orientation of the pentateuchal examples. In the Pentateuch the notion of listening to or obeying God or his voice is the stated condition upon which the prosperity and well-being of the Israelites depends. The clauses are conditional: “if you obey ...” In Zechariah, the future situation of a Yahwistic temple in association with a Davidic dynasty the anticipated result of obedience to Yahweh. That is, the Davidic covenant is to be renewed, with the temple signifying dynastic legitimacy, and then, a step removed in comparison with pentateuchal portrayal of the Mosaic covenant, prosperity presumably will prevail in the land ..."
Meyers, Carol L., and Eric M. Meyers Haggai, Zechariah 1-8: A New Translation with Introduction and Commentary (pp. 365-366) Doubleday, 1987