29 And whatever shall be dedicated of men, shall not be ransomed, but shall be surely put to death.
Leviticus 27:29 Cross References - CAB
Numbers 21:2-3
2 And Israel vowed a vow to the Lord, and said, If you will deliver this people into my power, I will devote it and its cities to You.
3 And the Lord hearkened to the voice of Israel, and delivered the Canaanite into his power; and Israel devoted him and his cities, and they called the name of that place Anathema.
1 Samuel 15:18-23
18 And the Lord sent you on a journey, and said to you, Go, and utterly destroy: you shall slay the sinners against Me, even the Amalekites; and you shall war against them until you have consumed them.
19 And why did you not listen to the voice of the Lord, but instead swoop down upon the spoils, and do that which was evil in the sight of the Lord?
20 And Saul said to Samuel, Because I listened to the voice of the people. Yet I went the way by which the Lord sent me, and I brought Agag the king of Amalek, and I destroyed Amalek.
21 But the people took of the spoils, the best flocks and herds out of that which was destroyed, to sacrifice before the Lord our God in Gilgal.
22 And Samuel said, Does the Lord take as great pleasure in whole burnt offerings and sacrifices, as in hearing the words of the Lord? Behold, obedience is better than a good sacrifice, and hearkening than the fat of rams.
23 For sin is as divination; idols bring on pain and grief. Because you have rejected the word of the Lord, the Lord also shall reject you from being king over Israel.