It’s not the parent's responsibility to raise children.
It’s the parent's responsibility to raise themselves.
It’s the parent’s responsibility (and any individual’s responsibility) to work on themselves, to take care of themselves, to nurture their personal evolution, to water their mental seeds, to aim to become decent, aware, respectful human beings. To learn to control emotions, to cultivate empathy and respect, to be inclusive, to welcome those who think differently.
Again, it’s the parent's responsibility to educate themselves.
Your children will follow — you and your lead.