This comic has the right to wield its own lore, but in the original Minecraft, I think the reason why piglins don't attack players wearing gold armor isn't greed. If the reason were just a love for gold, they would be more likely to mug a player wearing gold, but they don't. They are afraid of zombies, and knowing that gold can cure this disease makes things clearer. Maybe they see an ungold-wearing otherworlder as a potential source of infection and try to eliminate him/her out of fear.