Why do you think Israel built up such a strong military?

Because they are surrounded by enemies.