Nothing changes by chance but by choice and if there is no choice, there is no chance.
Yes habits can be inherited just like Jacob in the bible he was a man that was plagued by negative habits that followed him for a long time.
Jacobs habits were breakable
Good luck on the contest