With normal actions, you only lose durability on equipped items. When you die, you lose some durability even on items carried in your armour chest or inventory.