Simon the Sorcerer
9Now for some time a man named Simon had practiced sorcery in the city and amazed all the people of Samaria. He boasted that he was someone great, 10and all the people, both high and low, gave him their attention and exclaimed, "This man is the divine power known as the Great Power." 11They followed him because he had amazed them for a long time with his magic. 12But when they believed Philip as he preached the good news of the kingdom of God and the name of Jesus Christ, they were baptized, both men and women. 13Simon himself believed and was baptized. And he followed Philip everywhere, astonished by the great signs and miracles he saw.
14When the apostles in Jerusalem heard that Samaria had accepted the word of God, they sent Peter and John to them. 15When they arrived, they prayed for them that they might receive the Holy Spirit, 16because the Holy Spirit had not yet come upon any of them; they had simply been baptized into[c] the name of the Lord Jesus. 17Then Peter and John placed their hands on them, and they received the Holy Spirit.
18When Simon saw that the Spirit was given at the laying on of the apostles' hands, he offered them money 19and said, "Give me also this ability so that everyone on whom I lay my hands may receive the Holy Spirit."
20Peter answered: "May your money perish with you, because you thought you could buy the gift of God with money! 21You have no part or share in this ministry, because your heart is not right before God. 22Repent of this wickedness and pray to the Lord. Perhaps he will forgive you for having such a thought in your heart. 23For I see that you are full of bitterness and captive to sin."
24Then Simon answered, "Pray to the Lord for me so that nothing you have said may happen to me."
25When they had testified and proclaimed the word of the Lord, Peter and John returned to Jerusalem, preaching the gospel in many Samaritan villages.
I didn't understand this passage at first, but the Lord told me that this is an example of a bad relationship with the Lord. In fact, there was no relationship between this man and God. He merely saw power and claimed it as his own. That is all he wanted, not the God that granted that power.
The same thing goes in every day relationships, you can't buy a person's love, so why would anyone be able to buy God's love, especially when He loves freely? God is love (1 John 4:8).
God just wants your love, he wants relationship, not religion!