Excessive partisanship is the problem. There has never been a democracy in the history of the world in a polity of any size where you didn’t have political parties. Even sometimes over the objections of the people who started it.