However, there may be some exceptions to this rule. For example, if your friend was driving your car with your permission but had their own insurance, their insurance may cover the cost of replacing the car. Alternatively, if your friend was driving your car without your permission (e.g. they stole it), they would be liable for the cost of replacing the car.
It is important to note that the specific rules regarding liability for car accidents vary from state to state. Therefore, you should consult with a lawyer in your state if you have any questions about your rights and responsibilities in this situation.