This man in the book of Acts, who tried to buy the Holy Spirit, was a sorcerer and from my research, my belief is that this Simon was mistaken for the real Simon Peter of the time and the histories around Simon Magus may have set the stage in the church of the time. Bringing about a false doctrine and confusing the masses between the 2 Simon’s. Simon the Apostle and Simon the Wizard. Who carried on performing miracles and healing’s in his day all through the power of the devil and not the Holy Spirit. You can do more research on this subject and find out for yourself, along with the following scriptures.
Acts 8:9 But there was a certain man, called Simon, which beforetime in the same city used sorcery, and bewitched the people of Samaria, giving out that himself was some great one:
11 And to him they had regard, because that of long time he had bewitched them with sorceries.
Acts 8:13 Then Simon himself believed also: and when he was baptized, he continued with Philip, and wondered, beholding the miracles and signs which were done.
Acts 8:18 And when Simon saw that through laying on of the apostles’ hands the Holy Ghost was given, he offered them money,
20 But Peter said unto him, Thy money perish with thee, because thou hast thought that the gift of God may be purchased with money.
21 Thou hast neither part nor lot in this matter: for thy heart is not right in the sight of God.
Acts 8:24 Then answered Simon, and said, Pray ye to the Lord for me, that none of these things which ye have spoken come upon me.