Use a VPN from country that is hostile to the one you are living in. This way your own country won’t spy on you.

People tend to worry about other countries, but it is usually within the country they live in that they have to worry about their rights being infringed.

Or use a VPN from some punk who ignores the law. The future belongs to those who say "they can't arrest us all"

Except in the USA where they will, in fact, arrest everyone.

aka your local FBI agent. See ANOM or any of the other honey pots that glowed from kilometers away.

And even if they are not backdoored at first, once the state knocks on the developers door with the great offer that their kid will grow up with a father who is not in jail people's principles might change quickly.