Surely that just means that sin was only necessary to obtain knowledge of good and evil, not knowledge itself.
Didn’t Adam name all the animals? That implies he had the knowledge to do such a thing.
Didn’t Adam name all the animals? That implies he had the knowledge to do such a thing.