It's wrong if judges use it for anything else, but in my experience they do not.
Meanwhile the stories of defendants out on bail who commit heinous crimes are legion. Judges are trying to get things right for the most part.
In Trump country bail is a little different. Much of our local county jail population are non violent, misdeameanor level people who can't afford bail. They are also poor and usually minority.