Is that true?
Just as doctors tend to prescribe what worked last time - easier to do what’s at the top of your mind than critically appraise the evidence.
For example, according to rules of evidence, any exculpatory statements you make to police are hearsay and therefore cannot be mentioned in a trial. The police _can_, however, try to use that information against you and then use information derived from your original statement at trial.
There's a pretty popular lecture[0] on this. It covers a lot of edge cases and common arguments against "don't talk to the police".