Acts 8:18-24 NIV

18 When Simon saw that the Spirit was given at the laying on of the apostles' hands, he offered them money
19 and said, "Give me also this ability so that everyone on whom I lay my hands may receive the Holy Spirit."
20 Peter answered: "May your money perish with you, because you thought you could buy the gift of God with money!1

References for Acts 8:20

21 You have no part or share2 in this ministry, because your heart is not right3 before God.

References for Acts 8:21

22 Repent4 of this wickedness and pray to the Lord. Perhaps he will forgive you for having such a thought in your heart.

References for Acts 8:22

23 For I see that you are full of bitterness and captive to sin."
24 Then Simon answered, "Pray to the Lord for me5 so that nothing you have said may happen to me."

References for Acts 8:24