While Bitcoin is not completely anonymous, it is also not completely transparent. The blockchain does not contain names and things can be obfuscated in various ways. Furthermore, a truly 100% anonymous system of money without any exceptions may not actually be desirable from a societal point of view, as it would enable things like assassination markets.