I have read some people argue that if there was a God that created, his creation was imperfect because we have a potentiality and thus making him act in an imperfect way, and not being pure actuality. I would argue that an absolutely perfect God couldn't create an absolutely perfect being, because the creation would be identical to the creator and thus not having anything that seperates them, and it is one. Is creation then pure actuality because there is no potentiality of it being absolute perfect? I have a hard time to grasp around that question myself, might have formulated it weird.
Depends on definition of perfect
One definition of "perfect" (and "ideal") is by functionality. For example, primary function of knife is to cut - therefore cuts of ideal knife would be infinitesimally thin and smooth , there would be no resistance or ragged edges. Considering that in this world infinitesimally thin is not possible (size of atoms and molecules), cuts of the perfect knife would not be completely ideal, but they would be best possible.
Now, defining perfect being or at least perfect man is not that simple : what would be his primary function ? Things get religious at this point : for example in Christianity perfect man is Jesus Christ, because he accept will of God absolutely and never strayed from his path . Note that even Jesus was not ideal, because even he was afraid sometimes (in Gethsemane garden night before they seized him) . Church (Catholic) confirms his fear. Pope Benedict VI says :
What Jesus says to the three disciples whom he wants near him during his prayer at Gethsemane shows that he feels fear and anguish in that “Hour”, experiencing his last profound loneliness precisely while God’s plan is being brought about. Moreover Jesus’ fear and anguish sums up the full horror of man in the face of his own death, the certainty that it is inescapable and a perception of the burden of evil that touches our lives.
Jesus also sweated, bled, went hungry and generally had all weakness of a man made from flesh and blood, yet he is still considered as perfect because he was best possible man under circumstances.
Question now arises did God made "best possible world" (Leibniz), therefore should beings in this world simply strive to be best possible what ever they are, or we could conclude that this world is poorly made and blame its creator for that. But that is whole another topic.