The wider international community has largely rejected wars of conquest as legitimate in modern times.
The exact same argument could be applied to Israel and e.g. the Golan Heights, but I don't think you'll find that to be a particularly popular position.