וַיְהִ֥י בִישֻׁר֖וּן מֶ֑לֶךְ בְּהִתְאַסֵּף֙ רָ֣אשֵׁי עָ֔ם יַ֖חַד שִׁבְטֵ֥י יִשְׂרָאֵֽל׃
여수룬에 왕이 있었으니 곧 백성의 두령이 모이고 이스라엘 모든 지파가 함께 한 때에로다
Chizkuni
ויהי, “he became,” i.e. Moses; בישורון מלך בהתאסף ראשי עם, “King in Yeshurun, when the leaders of the people assembled.” This was recorded in Deuteronomy 4,10: באמור ה' אלי הקהל את העם ואשמיעם את דברי, when the Lord said to me: “assemble the people so that I can let them hear My words.”It is up to us to keep the Torah which He commanded us, and after having accepted it, it became a source of blessing for us.
Da'at Zekenim
ויהי בישורון מלך בהתאסף ראשי עם, “and there was a king in Jeshurun when the heads of the people were gathered.” When the Jewish people are truly united and relate to one another as true brothers, then G–d is truly King over them. When they quarrel among themselves then G–d cannot truly be seen as being their King.