The book of Joshua says Joshua attacked the city of Debir, putting it and its villages to the sword. He and his people totally destroyed everyone there, leaving no survivors.
The chapter after that mentions that Joshua totally destroyed the Anakites from Debir and some other places, along with their towns. That’s either a contradiction of the statement that they were already destroyed, or just part of a recap. But there’s definitely a contradiction later.
After Joshua died, the book of Judges says the men of Judah attacked the people living in Debir. What people living in Debir?? Had other people already moved into Debir after everyone there died? Well, yes, people had, but they were Israelites. Is Israel attacking itself here??