There really is no “what if” for med school, the way there might be for college. You end up with an MD or DO at the end either way, and whether or not you’re competitive for a certain residency program is based much more on your USMLE scores and other factors than where you attended med school. There is no way that going to a “good but not great” med school would actually negatively affect your career in the long run.