Is it true that if a person commits sins, Allah may punish them through their child (making them disobedient to Allah or to parents, etc)

Ustadh AbdulAziz al-Haqqan
The scholars mentioned that they see their sins in the manners of their wives, children, and riding animals.