regreting not being able to breastfeed πŸ˜”

I intended to breastfeed and I really wanted to. I had quite a traumatic birth and breast fed for a few minutes after birth but baby needed iv needle put in and doctor tested his blood sugar 4 hours after birth and said his blood sugar was low so he needed formala. I was told I could hand express some milk for him too but not even a saringe worth came out and it was so painful I gave up. day 3 my milk came in and my breasts were engrossed. I tried my hardest to get my son to latch on but he couldn't and I tried expressing again but was so painful I gave up and decided to let my breasts dry up. I know fed is best but my little one is a month old now and I'm so disappointed in myself for not being able to breast feed my son. I think my milk has completely dried up so I assume it's too late now. it's just upseting me so much I feel like a I failed him. what can I do? anyone else experiences anything similar?