StackOverflow should have focused on linking duplicates rather than forbidding duplicates.
No Boilerplate recently said "writing is thinking"[0], and suggested links are the ultimate knowledge graph organizational tool--not tags, not folders--links[1].
StackOverflow tried to prevent all duplicate questions. This was stifling and reduced writing, reduced thought, and most importantly, reduced user engagement.
The people who wanted to write their problems and ask their questions stopped going to StackOverflow. The people who wanted to write and give answers stopped going to StackOverflow.
Look at Discord or IRC and you'll see that people have their own questions to ask, and the people who answer such questions enjoy answering the same questions over and over. Let the people write their questions, and write their answers and give advice. Instead of preventing duplicates, link duplicate questions together.
[0]: https://www.youtube.com/watch?v=sqm4-B07LsE
[1]: https://www.youtube.com/watch?v=B0yAy2j-9V0