After getting a desired enchantment but staying AFK for too long, you could lose the enchanment due to the villager constantly refreshing his trades.
This can be prevented by buying any of his items.
You should have at least one from the following cases:
After getting a desired enchantment but staying AFK for too long, you could lose the enchanment due to the villager constantly refreshing his trades. This can be prevented by buying any of his items. You should have at least one from the following cases: