Little one still hates me

I read a little while back about other Mums feeling like their little one hated them. A lot of replies said it will just be a phase. For the past 6-8 months my little one constantly says “go away Mammy” and only cries for her Dad. She won’t let me go in her room in the morning without screaming for her Dad. If she hurts herself she goes straight for Dad. I really don’t know what I’ve done wrong. I am absolutely besotted with her and I do pretty much everything for her. I feel like such a failure and that maybe she would like it better if I wasn’t here.