It's got more Dune-like elements in it now, for sure. I'm thinking the Bene Gesserit sisterhood:
"Kill this child, it is an abomination!"
This has absolutely the darkest outcome of any Star Wars story I have ever read, though I'm glad that you finished the story - that's rare on this forum.
The moral of the story is that the Jedi are not to be trusted!