Read the Ten Commandments as a rulebook and you get ten moral laws. Read them the way the video asks you to, and something stranger appears: the opening lines follow the exact pattern ancient kings used to write legal treaties. Not a list of virtues -- a contract, signed by a monarch and delivered to a people.
The pattern has steps, and the first one is identification. Ancient treaty documents opened with the king's name and title, the "who is speaking" that makes everything after it binding. The commandments open the same way: "I am the Lord thy God" -- a royal title plate before any rule appears. No king, no treaty; the sentence exists to establish whose seal is on the document.
Step two is the historical prologue, and it is the treaty's argument for why anyone should sign. Kings would recount what they had done for the vassal -- the rescue, the protection, the generosity that created a debt of loyalty. Here the prologue is the rescue from Egypt: the liberation story functions as the "here is what I have already done for you" clause. The rules that follow are not arbitrary demands from a stranger; they are the terms offered by the king who claims credit for the rescue.
Step three converts the debt into law: the loyalty demand. Treaties required the vassal to keep no other allegiance -- one lord, exclusively. "Thou shalt have no other gods before me" is that exclusivity clause almost word for word, the first and foundational stipulation before any behavior rules appear.
What the covenant logic buys is the true power of the frame. Because the commandments are shaped like a treaty, the relationship they describe is legal rather than sentimental: obligations in exchange for rescue, enforced loyalty in exchange for protection. That is why the document can be broken ("broken tablets") and renewed -- treaties are renegotiated, and the same logic of violation and renewal carries through the tradition. A moral list merely advises; a treaty binds.
So the opening lines -- from the king's royal title to the rescue from Egypt -- are not decoration before the rules. They are the legal foundation: identification, prologue, loyalty clause. The ten rules stand on a treaty skeleton, and the video's point is that you cannot understand what the commandments are doing until you see which document type they are written on.