Possible meanings are 1) "By the time that child is old enough to eat curds and honey, he will be able to reject what is evil and choose what is good." This emphasizes that the child will be very young when he knows to choose what is right instead of wrong or 2) "By the time the child is old enough to reject what is evil and choose what is good, he will be eating curds and honey."