A bad habit can be gripping (4)
I believe the answer is:
vice
'a bad habit' is the definition.
(a sin or weakness)
I can't explain the remainder of the clue.
Can you help me to learn more?
(Other definitions for vice that I've seen before include "Strong gripper" , "In place of - depravity" , "Wrong" , "Fault - gripping tool" , "Wicked habit" .)