How can i store the item id from the offhand in a storage?

I kindof feel stupid asking this.. but i cant seem to get it together 😄 This is what i got: data modify storage minecraft:test block set from entity @s Inventory[{Slot:-106b}].id
Continue to help post