Why is this command not working in 1.20.1

i have this in a tick.mcfunction file: execute if data entity @s[type=minecraft:zombie] {Health: 0} run give @a minecraft:golden_helmet 1 but its not working im not sure why

Continue to help post