Simony is fundamentally the commerce of sacred things, there is an antecedent to Simon Magus, in the expulsion of the sellers from the temple in the gospels: "Jesus entered the Temple courts and drove out all who were buying and selling there. He overturned the tables of the money changers and the benches of those selling doves. "It is written, he said to them, My house will be called a house of prayer, but you are making it a den of robbers"" Matthew 21:12-17
. Even though the expulsion of the sellers from the temple is not simony, it does have a similarity. Simony is one of the first heresies that the church faces in its origins, along with the Talion Law (a principle of distributive justice) in Matthew 5: 38-42, which was frequently applied. Many concepts of Greek philosophy, fundamentally those related to the search for happiness (the link between human beings is reduced to the practice of justice), can be considered heresy. Heresies that take us away from the path of mercy, the path of piety.
Sin is all omission of the good: "If anyone, then, knows the good they ought to do and doesn't do it, it is sin for them." James 4:17. When sin is transformed into teaching it is there that it becomes heresy, heresy is the teaching of error, simony has a double meaning, it is both sin and heresy.
Simon tries to buy spiritual gifts with money: "Now for some time a man named Simon had practised sorcery in the city and amazed all the people of Samaria. He boasted that he was someone great, and all the people, both high and low, gave him their attention and exclaimed, "This man is rightly called the Great Power of God". They followed him because he had amazed them for a long time with his sorcery. But when they believed Phillip as he proclaimed the good news of the kingdom of God and the name of Jesus Christ, they were baptized, both men and women. Simon himself believed and was baptized. And he followed Phillip everywhere, astonished by the great signs and miracles he saw.
When the apostles in Jerusalem heard that Samaria had accepted the word of God, they sent Peter and John to Samaria. When they arrived, they prayed for the new believers there that they might receive the Holy Spirit, because the Holy Spirit had not yet come on any of them; they had simply been baptized in the name of the Lord Jesus. Then Peter and John placed their hands on them, and they received the Holy Spirit.
When Simon saw that the Spirit was given at the laying on of the Apostles' hand, he offered them money and said, "Give me also this ability so that everyone on whom I lay my hands may receive the Holy Spirit."
Peter answered: "May your money perish with you, because you thought you could buy the gift of God with money! You have no part or share in this ministry, because your heart is not right before God" Acts 8:9-20