You are conflating anonymity with privacy.
Onchain bitcoin is NEVER private, as amounts + sender + receiver are always recorded onchain.
It can be pseudonymous (you don't know who the addresses belong to) at best, but never anonymous, as you can always see the addresses.
And over time, because of this, the pseudonimity tends to turn into certainty.