That's why you put barbwire on the top and have sensors. Israel has a wall that is 100 percent effective.
Also if 1000 people were to rush the border would the wall work to slow them down? If you played a tower defense game would you put up walls? If I can kick down a door, do doors not work? Can I run a red light? I guess lights defeat the purpose of traffic control!
Do you see how stupid you are yet?