Acts 8:18-22 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!

References for Acts 8:20

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

References for Acts 8:21

22 Repent of this wickedness and pray to the Lord in the hope that he may forgive you for having such a thought in your heart.

References for Acts 8:22