Reposting because the new megathread came out 12 minutes later.
Dune Spoilers about Dr Yueh (kind of redundant given how much the book spoils it but...)
There's memes that are basically "Doctor Yueh conditioned to never betray his masters, succumbs to blackmail" etc. But I feel a lot of people don't understand Yueh. His wife was a Bene Gesserit and it was implied she gave him their training. The books show weird things happen when men have Bene Gesserit training, Count Fenyring and of course Paul Atreides. Especially when someone has both the male and female trainings, like Yueh being a Suk Doctor or Paul having Mentat training.
And while he betrays the Duke and Paul, he weaponized the Duke with the poison gas tooth to have a chance to strike at the Baron (which almost succeeds) and he arranges the ornithopter that Jessica and Paul are taken away on to have the Signat ring, have still suits and for Duncan Idaho to retrieve them. I forget but I think he made sure their sedation wore off earlier than anticipated too. It's entirely possible the only way he was able to betray the Duke was by complicated internal justification aided by the Bene Gesserit training to excuse himself by all the other things he put in play. Like "I'm not harming my master because this was the only good possible outcome for him and Paul, otherwise they all would have been killed with no chance for revenge or salvation"
Not that this is support for his actions, just how he might have skirted the conditioning.
Yeah I remember a Ze Frank the show episode discussing it. Which is really dating me.