"'You expected much, but see, it turned out to be little. What you brought home, I blew away. Why?' declares the Lord Almighty. 'Because of my house, which remains a ruin, while each of you is busy with his own house. Therefore, because of you the heavens have withheld their dew and the earth its crops. I called for a drought on the fields and the mountains, on the grain, the new wine, the oil and whatever the ground produces, on men and cattle, and on the labor of your hands.'" NIV translation
Because their own homes had been their priority, God removed His hand of provision from the people. They had trusted in their own efforts and forgot that everything they had came from God.