What they did was annex it, per your previous inquiry. The fact the UN doesn't recognize it is pretty much meaningless, but more to the point, they did annex it, AFTER DEFENDING THEMSELVES FROM AN ENEMY ATTACKING THEM FROM THAT REGION.
IF the UN had any credibility, they'd authorize force to move Israel out, if Israel is the real bad guy, as you keep trying to push