Would this hurt your feelings?

So my daughter and I had a rough night she woke up at 3am with full energy wanting to dance I let her be up for a bit but once it hit 5 and she was still not asleep I started to get a little frustrated! We live in an apartment, and I have full blown anxiety of letting someone hear my baby cry for a long period of time and plus I can’t allow my self to let her cry. I try to be considerate because I know they can hear everything. We didn’t end up waking up until 10 (well me) my daughter was still sleep. I had a plan to cook breakfast,etc) however my husband then woke up. And I told him ya she was just up at 3am standing wanting to dance he says well you should just let her cry, sometimes she has to cry to fall back asleep. Okay whatever fine. I tried putting her down so I can cook ( he didn’t know I was wanting to cook fyi) Nope wouldn’t let me put her down. I slowly did get frustrated and he turns around and says well you’ve spoiled her, that’s what you get. Then I just let that sink in my head like “that’s what I get”? Thats a bold statement. Because all I’m trying to be is the best mom I can be. So I just somewhat ignored that comment. I tried putting her on her stomach and she cries still. I’m slowly getting frustrated, and he says you shouldn’t be getting frustrated. I said well I am! And then states oh my bad. Like what the hell??????!! Am I like being an emotional wife or something? Because that just seemed a little heartless.