fool to oneself

Noun

 * 1) One who knowingly makes a decision or takes action that is to his/her own disadvantage.
 * By swimming, drunk, late at night and alone, he was being a fool to himself.