To begin, let us take a brief excursion into practical geometry and see how Judaism interprets the concepts of a line and a circle.
As we know, a line is a segment of a straight line made up of a sequence of points. A line has a beginning and an end. This means that the points on a line have a hierarchy, a “position”—there is a first point on the line and a last.
Now consider a circle. There is no hierarchy in it; it is characterized by “equal rights for all points”—they are all equidistant from the center, and none is first or last. All are equal.
Now let us look at Dan. While the Jews are wandering in the wilderness, Dan is last and Yehudah is first. Yehudah is the most important; Dan is the least important. Yehudah is the son of Leah, Yaakov's first wife; Dan is the son of Yaakov's secondary wife Bilhah, the maidservant of Rachel, Yaakov's second wife (both through Rachel and through his own mother, Dan occupies a position that could not be more subordinate!). But if Yehudah and Dan unite, the first and last points on the line become neighbors, and the straight line turns into a circle—all Jews become equal!
In Judaism, the concepts of hierarchy and equality do not contradict each other. There are those who come first in society and those who come last, but before the Almighty, all are equal.
When blessing Yehudah, Yaakov calls him a lion cub, and Dan a snake. When blessing the Jewish people, Moshe calls Dan a lion cub (just as Yaakov called Yehudah!). Let us recall: the construction of the Mishkan (the portable Temple in the wilderness) was headed by two men—Betzalel of the tribe of Yehudah and Oholiav of the tribe of Dan. The circle closes when the Temple is built. The distinction between important and unimportant disappears; everyone becomes equal.
When the First Temple was built, the initiative came from Shlomo, son of David, of the tribe of Yehudah, while the work was carried out by Hiram, whose mother was from the tribe of Dan (Chronicles, chapter 2, verse 13) and whose father was from the tribe of Naftali, Dan's brother (1 Kings, chapter 7, verse 14). The best-known leader of the tribe of Dan is Shimshon (Judges, chapters 13 - 16); his father was from the tribe of Dan, and his mother from the tribe of Yehudah. According to tradition, Mashiach's mother will be a woman from the tribe of Dan, and his father a man from the tribe of Yehudah.