TIL that Villagers work in specific hours, that means they won't change jobs if they don't work. I did some testing and here are the working hours: : r/ Minecraft
Easy Villager Trading Hall Tutorial with Zombie Discounts | Simply Minecraft (Java 1.17/1.18) - YouTube
Know When Villagers Restock in Minecraft with Redstone - YouTube
How To Change a Villager's Profession
♢ Minecraft Villager ♢ Professions & more | GPORTAL Wiki