The Book of Daniel includes many dreams.
The fifth of the Prophetic Books, and the twenty-seventh book in the Bible, is the Book of Daniel. Daniel was exiled to Babylon when he was still a teenager. Because of his wisdom, and the favour of God, Daniel rose to a position within the Babylonian government. He was chosen by God to speak to the Jews in Babylon and to show them God's future plans. The Jews would suffer under the rule of Gentiles (non-Jews) for a long time, but this would not last forever. In the future God will bring forth the Messianic Kingdom, which will be eternal.
Daniel 2:31-35
"Thou, O king, sawest, and behold a great image. This great image, whose brightness was excellent, stood before thee; and the form thereof was terrible. This image’s head was of fine gold, his breast and his arms of silver, his belly and his thighs of brass, his legs of iron, his feet part of iron and part of clay. Thou sawest till that a stone was cut out without hands, which smote the image upon his feet that were of iron and clay, and brake them to pieces. Then was the iron, the clay, the brass, the silver, and the gold, broken to pieces together, and became like the chaff of the summer threshingfloors; and the wind carried them away, that no place was found for them: and the stone that smote the image became a great mountain, and filled the whole earth."
The dream represents four kingdoms - Babylon, Persia, Greece and Rome - which will come after one another, but will all, in time, be crushed by God's Kingdom which will never end