Bail does not provide a "get out of jail card".....it supports the long held concept of innocent until proven guilty. It provides the unfettered means for a person charged in a crime to prepare a defense.
Further supported by the 8th amendment to the Constitution:
Excessive bail shall not be required, nor excessive fines imposed, nor cruel and unusual punishments inflicted.