I’m pretty sure Socrates wasn’t even being obnoxious about it.
The lesson I took was, he would rather be dead right, than a live liar.
We all end up making that choice at some point, if we recognize it or not.