People cling to their guns and religion because they know that those are among the first things that dictators try to get rid of. (Venezuela and China are only individual examples.)
I give tyrants credit for knowing their business. They don't come to power by accident. They know where the threats against them lie.