Surely the Lord God will do nothing, but he revealeth his secret unto his servants the prophets. Amos 3:7 KJV
The Spirit and The Word agree. A true prophet of God is well grounded in the Word of God (the Bible) and is relational with the Spirit of Truth.
Many who claim the office of a prophet are neither and, therefore, are easily deceived by lieing spirits (demons) which are seeking to steal, kill, and destroy.
Hide the Word in your heart and develop your relationship with the Lord. It will help you to discern the truth from a lie.
Be careful who you listen to.
Beloved, believe not every spirit, but try the spirits whether they are of God: because many false prophets are gone out into the world. 1 John 4:1 KJV