The Bible actually proves his imperfection... as he doesn’t understand his own creation, has obvious limits to his power, has regret at the mistakes he has made, and exhibits obvious failings like envy, anger, pettiness, sociopathic tendencies, and homicidal tendencies. He is perfectly okay with eternal punishment for finite transgressions, and plays both the good cop and the bad cop.