Is my baby gonna be okay??

I feel like a horrible mother and my baby hasn’t even arrived yet. So when I got pregnant my eating habits were beyond horrible. Fast food allllll the time but I cut it down a lot when I found out about my baby but still had bad eating habits throughout this whole pregnancy. Throughout my whole pregnancy I told myself I would cut it all the way out and it just never happened, the time flew by which is no excuse but now I’m worried that maybe I hurt the development of my baby, he will be here in three weeks. Have any of you had healthy babies even though you didn’t eat 100% the way you should’ve during pregnancy?