The Lord explained to Ezekiel that the bones represented the whole house of Israel (cf. Ezekiel 36:10). The Israelites were saying that they were like dry bones: they had been dead for a very long time spiritually as well as physically. They had no hope of life in the future; they had lost all hope of becoming a nation again or of seeing God"s promises to them fulfilled literally. The Lord had cut them off completely; the bones were separated from each other, and the Israelites were scattered over the earth. Consequently, Ezekiel was to prophesy to them that the sovereign Lord would open their graves, cause them to come up out of their graves, and bring them back into the Promised Land. Then they would know that He is God. [source][source][source]
"This chapter then does not deal with the doctrine of the personal bodily resurrection but with national resurrection." [1][source]