Turn enchanting into meaningful choices, instead of ever stacking bonuses.
Limit the number of enchantments on an item.
Automatically applies limit to all breakable items and enchanted books by default.

Enchantment limit is based on a new item component: enchant_limiter:limit
Example command
/give @p minecraft:golden_sword[enchant_limiter:limit={"count":5}]