It's court, your entire life can be dragged over the coals if there is sufficient justification for it. Privacy is not an absolute, if I have compelling evidence you have abducted a child the facility should exist to (at the very least) search your home and possessions.
https://www.youtube.com/watch?v=6wXkI4t7nuc
There are very good reasons to have something like our 5th amendment that apply to people who are indeed not guilty according to the law. It's not about telling lies, it's about not providing truthful information that can be used against you in ways designed to make you look guilty even when you are not.
The founders of our country who made sure we had a 5th amendment knew the importance of this -- they didn't put it in there to protect the guilty.