have (one's) fingers burned
To suffer an unpleasant or ruinous consequence (especially the loss of money) for some action, often such that one becomes unwilling or reluctant to do it again. During the boom times, countless would-be investors put everything they owned into shady investment deals, and most of them ended up having their fingers burned.