@Katherine Roberts Welcome to real estate investing! :-)
I can understand how emotionally difficult this situation likely is. But I actually think there is a massive silver lining here which should ease your mind. First things first, don't close on this home. I'm going to make the assumption that the repair items you are referencing were agreed to in a written purchase and sale contract. If not you'll likely need to consult professional legal help which is beyond the scope of what I can provide. But if this was all agreed to, in writing, there isn't a lot to get worried about here. Cancel the contract and get your earnest money back. You may lose a bit of money from inspections, etc., but losing 500 or $1k is peanuts compared to the tsunami of expenses that could come your way if you move forward.
Real estate is a people business and it's important to keep your word. But don't go through with a bad deal just because you have a contract and are close to closing. Trust me. I've been there, done that. In my case I ended up putting in $200k all-in on a home now worth $190k which doesn't cash flow now. Lots of trapped equity and stress along the way.
The silver lining in all of this is that you're now learning so much about real estate from contractual agreements, trust but verify, what to look out for on the next deal, what to look for in an agent, and much more.
Some of the more experienced investors here are recommending you try to re-negotiate which you totally can. However, I would try and cut my teeth on something a little more simple for your first one. Yes, negotiating is an important skill, but your mental capacity and enjoyment of the game counts for a lot too and you've probably learned enough already on this experience.
I would cancel this purchase and really spend some time thinking about what you can learn from this experience, and what you can do differently next time to get a better outcome next time. Checklists are your friend.
As far as real estate troubles go, this one is pretty simple. Read your contract to find out your rights/obligations and don't close. You're taking action which is more than most, so be proud of yourself. Something that I tell myself often "Everything is fixable". And in this case, there isn't anything to fix.
Best of luck!