Maybe he'd rather die than live in prison. A very influential person in the field of technology and he is also a software expert. Maybe he was ashamed of living in prison. Life in prison will also make him a long-lasting frustration.
John McAfee was an expert but he messed up big time promoting scam projects and if you were in the market during the ICO boom you would know that as he promoted scam projects and many fell for the trap thinking he did his research before promoting them but later came to know that he would promote anything if anyone pays him.
I am not buying that he committed suicide and we might not know the truth.
I admit that John McAfee is very smart so he can create an antivirus, and also McAfee has very good knowledge about the crypto world.
But unfortunately McAfee's intelligence is used by him to make a lot of money by promoting scam projects, this is very detrimental to many
people who are deceived by the promotions he do. Whereas if McAfee uses his intelligence for positive things, I believe he will not end up
in prison and not suffer a fairly tragic death. Indeed only John McAfee knew the real reason why he decided to commit suicide, I most likely
agree with the opinion that he is stressed and frustrated having to accept the reality of being in prison.