Datapack not working

Hello, my datapack isn't working. What am I doing wrong?

Continue to help post