Precisely. Galatians sets so many errors right. I love Paul’s teaching from Christ. John, in his letters, also warned against antichrists. He shut Mohamed down before he ever started. This is the power of Scripture, it carries true authority from God (because His Spirit breathed it out).
God’s kind of funny that way huh? He knows all this stuff way before we do and includes in his Book to us.