Worried :(

Im currently TTC. But I am so woried that I will be a bad mother :( my mother was a bad mother and left us alone at home and eventually gave us up to my dad and I haven't seen her for 9-10 years. Also my stepmother isn't a very good mother and I am just so worried that I will turn out like them :( my DHmom does foster care and she recently had 3 kids that I would occasionally watch. But sometimes I would get so angry with them and couldn't wait for someone to get home to take them.. Does this mean I will be a bad mother? I am so worried :(