Writing code is a great way to make money in the desert. Israel is essentially an island. Also, warfare in the future is likely to be primarily digital, and Israel has many enemies. Israel will lead the cybersecurity and cyberwarfare industries out of sheer necessity.
I don't think warfare will be primarily digital. Similar things were said about airpower, artillery, and naval power. Ultimately you need boots on the ground. If you rely too much on any one thing the enemy will route around it.
Why invade a country, when you can shut down its infrastructure and force them to surrender? War isn't won by killing, its won by conquering. I also suspect that machines will be so effective at killing, that you won't be able to find soldiers stupid enough to fight them head to head. We have yet to see the full capabilities of a cyber super power.