any wrong with these codes

execute as @a[scores={jump=100..}] at @s run function ren:ench scoreboard players set @a[scores={jump=100..}] jump 0

scoreboard objectives add jump minecraft.custom:minecraft.jump

scoreboard objectives remove jump

i tried adding these codes to a old datapack but these are not working but when i remove these codes the datapack works

Continue to help post