How is that a commandment? It’s a declaration.
"Ten commandments" is an English idea. The Torah says, "Atzeret debrot" which is probably the genesis of the phrase, but these words are usually translated as "ten words." The Torah actually contains 613 commandments.