Staying in a relationship with an abusive partner can have serious consequences for the children. Children who witness abuse in the home are more likely to become victims or abusers themselves as adults.
Do not stay in an abusive relationship for the sake of the children. Even if you believe you are the only one being abused and not your children, there is still psychological damage done to them.