Feeling guilty!!

I came across a video saying about how breast feeding is more beneficial for babies development and IQ. My milk dried up completely when he was 3 months now he’s nearly 7 months on formula since the day my milk dried up I was wondering if formula fed babies are slow at developing than breast feeding babies? I feel so guilty that I couldn’t breast feed for longer than he needed I just want your opinions on this mamas