Having a perfect society is possible, but it will take a lot of effort. Here's how to do it:
First, the government must have full control, and it can only be run by machines.
Second, All humans need to have their brains connected to a computer, so that no other human can read their mind, but the robot-run government can.
And last, the government will force everyone to have "perfect" thoughts, and trick them into thinking that those were their own.
Perfection in anything is impossible, even in machines. This is due to the fact that perfection isn't real. In another universe, possibly, but the argument is only relevant in this one.
Everyone has a different version of perfection in their heads, so a perfect society to someone would be imperfect to another. For instance, for some, a perfect society would be one without white people, and for others, a perfect society would be one without black people. See how they can be very different?
There is no such thing as a single, unanimously perfect ANYTHING, nor will there ever be. You can come close. But absolute perfection is impossible.
One dark day in the middle of the night.
Two dead men got up to fight.
Back to back, they faced each other.
Drew their swords and shot each other.
One was blind the other could see.
So they chose a blind man as the referee.
The blind man went to watch fair play.
And two lame men came too carried them away
with a paralysed donkey that was passing by
that ended up kicking the blind man in the eye.
It knocked him through a nine-inch wall.
Into a dry ditch that drowned them all.
A deaf policeman heard all the noise
He came to arrest the two dead men that were just young boys.
If you don't believe this story’s true,
Ask the blind man he seen it all through you and me.
And the two boys called it liberty.