To have a happy and productive family, share spiritually as many positive moments as possible with your spouse. Then team up with them to help teach kids to behave in a satisfactory manner. If all goes well, you won’t have to bail anyone out of jail.
And oh-by-the-way… make your family extremely important to you…such that you don’t mind going out of your way to help them… include others too, who need help. You’ll be glad you did.
Don’t judge me by my work
Judge me by my family

and the spirit can soar!