Barbed wire is security theater. It was invented for cattle, and it does a reasonably good job of keeping cattle confined. (It doesn't work well for horses because horses are even more stupid than cattle and horses repeatedly injure themselves on it and the wounds get infected.)
Barbed wire doesn't work for humans, especially humans who have some familiarity with it.