StackOverflow was on decline due to mismanagement and hostility towards the community. This was well before AI. AI was just the death blow.