In Moses 7, Enoch was commanded not to teach people of Canaan.
Old Testament Revision 1 [Moses 7], The Joseph Smith Papers website, accessed August 11, 2021
curse and they die and he gave unto me a commandment that I should baptise in the name of the father and <of> the Son which is full of grace and truth and the Holy Gohst which beareth record of the father and the Son and it came to pass that Enoch continued to call upon all the people save save it were the people of Canaan to repent and so great was the faith of Enoch that he led the people of God and their enemies came to battle against them and he spake the word of the Lord and the earth trembled and the Mountains fled even according to his command