No. It has value, because companies value it. It sets the starting point for your first salary and then for every salary negotiation moving forward.
As someone who did not go to university, but has the same knowledge self-taught I can tell you that this piece of paper would have opened so many doors and made life so much easier. It took me 15 years to get a salary, that people get with the piece of paper after graduating. And not because it took me 15 years to reach that level of knowledge. I had that by the time the other graduated.
I had a friend who always cheated in school, and now he works for a big car company and earned a fuck ton of money.
Life is unfair and companies only care about the paper your diploma is printed on. If students would ask me for advice, I would tell them to cheat whenever possible.