Deuteronomy 13:3 Thou shalt not hearken unto the words of that prophet, or that dreamer of dreams: for the LORD your God proveth you, to know whether ye love the LORD your God with all your heart and with all your soul.
God allowed men that would supposedly speak on His behalf to live among the people of God. There have been and always will be false teachers.
The purpose of those teachers was to test God’s people and see if they would stay firm and loyal to God and what He taught. If you really love God you will always listen carefully. You will examine what the other preachers and saying. You will check it out by the Scriptures. You will reject what isn’t true.
That is one of the ways you will prove that you love the God of Heaven. There will always be opportunities to do wrong, to turn from God but you will study the Bible and know the truth.
Get into the Book. Learn the truth and follow it.