Criminals and genetics

to

I recently watched an episode of a crime show and on the show they mentioned that criminal behaviour could be linked to genetics. As in if your parent was say a sex offender or murder then you or your children are likely to do the same. What are your thoughts on this?

I am not sure what I think about this personally I think it's bs because a person can't just say I did it because my parent did and it's in my genes to do it too. We make our own choices and choose our own actions.