All my 2 year old wants is just snacks no food😭🤬

Idk why i made so much food i gave him fast food he doesnt want anything but snacks. Is it ok to give me snacks for dinner? Yes sometimes he eats food but never other stuff hes the PICKEST LITTLE KID I HAVE EVER MET. Its soo frustrating because he doesnt want healthy food he just wants bad snacks and McDonald’s.. fries.. chicken nuggets.. pancakes, soup fruit .. nothing else besides that but i dont want to keep giving him the same food i want hom to try other stuff but no so i just give him snacks… i hate this will he ever grow out of it and eat what i make him? Or cook?