I try the following command:
/give @p diamond_sword{display:{Lore:["The lore should show below the name"]},Enchantments:[
{id:unbreaking,lvl:3}]} 1
This command is correct, but if I try to add a custom lore, it does not appear.
Environment
Java edition
See MC-123807.