No, but you have to ask yourself why you got bad grades.
People who go to Yale, etc. are very smart and very hard working. THey are intellectually curious and do beyond the minimum.
So why did you get bad grades? Didn’t study? Don’t care about grades? Have trouble understanding the subject? Didn’t do homework or read? Put in minimal effort?
So figure out what the issue was and rectify it…change your study habits and work hard. If you don’t understand something, ask. If you do poorly on a test. talk to the teacher until you can understand the topic.