Do you really think God is going to correct Himself in the middle of giving inspiration to someone writing scripture? If He had to do this it means He’s not a perfect God.
Alma 24:19; “And thus we see that, when these Lamanites were brought to believe and to know the truth, they were firm, and would suffer even unto death rather than commit sin; and thus we see that they buried their weapons of peace, or they buried the weapons of war, for peace.”