Depends on your view of God. If God existed before creation, there were not two things to compare. I'm not even sure "nothing" existed - maybe God was smart enough to avoid creating "null" values.
Caveat: former Catholic; 50+ years of fervent atheism.