If you have been injuring doing something you are less likely to put yourself in that position again
English novelist, Rachel Hunter, in Lady Maclairn, the victim of villany, 1806: My wife says that the Captain is very fond of her, and if all be gold that glitters, I am to believe that he doats upon her; but once bit twice shy