Eyes Wide Shut is just a remake
Did you know that Stanley Kubrick’s last film Eyes Wide Shut was the movie version of a German story called Traumnovelle (Rhapsody: A Dream Novel, or also known simply as Dream Story) by Arthur Schnitzler? The book was even made into a movie in 1969 and is free on Youtube. Kubrick’s Eyes Wide Shut is a near identical re-creation with some updated scenes but same themes.
If you want to read the original book, it’s available for free.