Why would God use evolution if it results in flawed beings?

Yes, that’s exactly what I would mean by “chaotic”.