You should be able to see a symmetrical pattern here. This is called a chiasm. It is a literary device where the main point or message is placed at the center of a section and framed on either side by repetition.The structure in Daniel is ABCCBA. “Chiasm” relates to the Greek letter chi, which looks like an X. Chiastic structures are often analyzed using this shape, where the top and bottom lines are the farthest out and the center section is indented with all the in-between sections cascading between the points.
If you look at the chart of the Aramaic chiasm in Daniel, you will see the A sections, first in chapter 2 where Nebuchadnezzar has a dream about four world kingdoms being replaced by a fifth, and at the bottom of the structure (A’) Daniel has a vision about four world kingdoms being replaced by a fifth. Then, in the B section or the B chapters, we have faithful Jews who face death on account of their devotion to God. In chapter 3 it’s Shadrach, Meshach, and Abednego. In chapter 6 it’s Daniel.
Then, at the center of the structure, in the C chapters—chapters 4 and 5—we have proud human kings being judged by God. While the God of Israel may not have looked like much on the world scene at this time—after all, His people are captive, His temple’s destroyed, [and] His land was part of another empire—the message of those two chapters at the center of the chiasm is that God controls the fates of human kings—specifically, in that case, Nebuchadnezzar and Belshazzar. God gives them their power, and He takes it away. He holds them accountable for what they do with it. So God’s people can take great comfort in this fact, and this message underlies the entire book.
Then, in chapters 3–6, we focus on individuals living in faithful ways, no matter what Gentile king is over them. God is able to rescue them, though He may not. And in chapters 2 and 7, the extremities of the chiasm, we have a broad view of history. The march of human grand and powerful empires—all are temporary and inferior to the internal indestructible kingdom of God that fills the entire earth.