Datapack help

So I made a datapack to kill an entity near a campfire but nothing is happening. What is wrong?

Continue to help post