In the USA if you exercise your right to a trail then a very heavy trial tax is imposed, especially in Federal cases.
https://naacp.org/resources/eliminating-illegal-practice-tri...You have the right, but you are severely punished if you dare exercise it. This is 'just' (as in keeping with justice) because it helps reduce the strain on our justice system that is not designed and can in no way handle a non-trivial amount of cases actually going to trial and people exercising their rights. Just like companies can no longer function without people giving up their rights and requiring binding arbitration, our justice system would not be able to function if people didn't give up their right to trial.
The USA used to make fun of China because it has enshrined rights in it's constitution that, in practice, are not available or not applicable in actual daily life. I have free speech, but not where people would hear it. I have the right to a trial, but with it comes actuality the government will change my sentence to near life (or the portion of life that has any quality to it) if I dare avail myself of that right.
How many people close to you will die if you dare take your case to trial and get a trial tax imposed? How much of your childrens' lives will you miss? How long will they suffer without you earning money to support them? Or, will you miss out on the child rearing years completely when one starts a family because of the lengthy trial tax? Best to take the plea. There's a reason the Feds conviction rate is 95%, it's the explicit threat/coercion that is the trial tax. Remember, the longer the sentence, the rougher the prison you are sent to as well, because your security rating is heavily based on remaining sentence length. So it's not just a threat of length, but also the level of violence you will be subjected to during imprisonment.
Ironically, you have to testify that you were not coerced, to the judge, in court, to get out of having the trial tax imposed when you take your plea, when the very same judge knows of and is the person who applies the trial tax.