Imperfection and Perfect God

Why can’t a perfect God will to create an imperfect world? Why must there be a compulsion on Him to always intend a flawless creation? Why must imperfect creation necessarily imply an imperfect Creator?