Bad habit (4)
I believe the answer is:
vice
'bad habit' is the definition.
(a sin or weakness)
This is the entire clue.
(Other definitions for vice that I've seen before include "Moral weakness" , "item in workshop" , "Prefix meaning acting as deputy" , "Wickedness" , "Sin; weakness" .)