Israel says the wall will help keep out militants .