When Peter encountered Simon who was a sorcerer who thought that he could buy the Holy Spirit he had a few choice words for him. Church history tells us that this Simon began some false teaching which most likely had some influence on the apostles peters warnings in his letters.