Sometimes a prophet’s or an apostle’s opinion becomes scripture. Paul also gave his opinion (1 Corinthians 7:10, 12, 25). See commentary at Alma 7:8.