The Tor design spec literally says it is not meant to defeat a global passive surveillance panopticon like a world government. Know its limitations and it's a fine tool. By the way, the entire Internet was built for the government.
You do realize that tor is open source and has been under scrutiny by some of the worlds leading security researchers? It may not be 100% perfect, but claiming itβs useless and ineffective simply because it was born out of government research is completely asinine.
1: https://en.wikipedia.org/wiki/Tor_(network)#History