No. There is no failure in design. The design allowed for infinite variety within the creation. It works as it’s supposed to.
The design was perfect, but no design, no matter how perfect initially nor how perfect the designer, can remain perfect once corruption enters into the mix.
Evil entered the world with sin. God did not create it. With the capacity for choosing good, comes the capacity to reject it and choose *not good*. That is what evil is.
Corruption also entered the world with sin. That was man’s doing, not God’s.
He told man how to choose and what the consequences would be. Man could have learned the knowledge of good and evil by obeying God instead of disobeying Him.
A perfect design cannot be corrupted.
BTW, who created the corruption?