execute compare and run

Hello, I try to make a command that can be compare two thrower and if the same it run a command. My test /execute at @s as @e[name="end_game:altar"] if data entity @e[type=item,nbt={Item:{id:"minecraft:slime_ball"}},limit=1] Thrower if data entity @e[type=item,nbt={Item:{id:"minecraft:stick"}},limit=1] Thrower run say yes But it doesn't work, the thrower check is bypassed. Can you help me ?
Continue to help post