My limited experience, after just having our fifth child, is that you *will* both pass on your habits to your children, but that is not the end of the story. First and foremost, I believe having children is *the greatest* motivator for eliminating bad habits. We see ourselves reflected in our children, and we're motivated to change. Plus, kids stretch us in more ways than we ever thought possible, and motivate us to change.
But spouses don't and shouldn't motivate each other to change . . . it just doesn't usually work out. Each spouse should see the good in the other, and try to think of how Heavenly Father loves your spouse. Heavenly Father knows just how far we have to go, but he's patient, and knows that forcing us to change does no good, he needs to let us change when we're ready, since that's the only way our heart changes along with our actions.
My guess is your husband doesn't want to have prejudices, and may even feel bad about his habit. Think about how many habits you wish you could break, but haven't yet been able to. We usually know what we need to change, and don't need others to tell us. Of course, it doesn't hurt to take time out to read parenting books together, go to seminars & firesides, visit counselors, etc. so we can be reminded of the really good ideas we always knew .
All that said, you can help your husband by believing his heart is good, and praising him every chance you get. The belief in him and praise for him sets for him an image of what he can become, and shows him someone close to him believes in him. That's motivating. It works on kids too. Now, if only I could get myself to do it more consistently!!!
Oh yes, and I forgot to suggest prayer. It truly does miraculous things. God hears us, and will help soften the hearts of our loved ones just because we pray for them.