Is being the head and not the tail (Deuteronomy 28) about obeying the 10 Commandments?

I used to think it was about observing the inspiration of enlightenment but now I think it might be about keeping the Ten Commandments

Is being the head and not the tail (Deuteronomy 28) about obeying the 10 Commandments?
Post Opinion