feeling like a failure

My son is 4 months old, and unfortunately his head is very flat in the back & he is in the process of getting a helmet. I feel so down and upset about this because I feel like I am a failure as a mother. Now of course the first thing people are going to jump to is "he's on his head too much". Negative. I only lay him down either A. When I have things to do and can't hold him or B. When he sleeps at night.
He sits in his bumbo chair, and he has another chair he sits in. Also, he lays on my chest (doing tummy time) during ALL his daytime naps. I don't understand how his head could've gotten flat? I just feel like a let down.