The Jedi are not really known for their intelligence. The Jedi receive a clone army that was ordered by a long dead Jedi Master and unwilling to look a very suspicious gift horse in the mouth, act surprised when said clone army turns on them.
The Jedi war credo is all about luck and faith in cute little furries.