Game won't detect wearing enchanted item

For some reason the command doesn't work. Not sure why. execute as @a if items entity @s armor.* *[minecraft:enchantments={levels:{"minecraft:frost_walker":1}}] run say hi
Continue to help post