I feel like such an awful mother

my baby is 24 days old and I'm struggling so bad. he never sleeps through the night and i write this at 4:55am ...he has literally just gone to sleep but is due a feed in 30 mins. I feel like such a failure as a mother, I have had to stop myself from getting angry with him! how disgusting is that! I feel as though I shouldn't be his mother, He deserves better! I cry atleast 5 times a day through feeling like a failure!..im trying my best but im failing miserably