Hi, Welcome to AC Forums!
There are "so Many" things that could have gone wrong. My advice to you would be to take the phone to your local bestbuy, to which most have Samsung counters in them. They are always very helpful. Try bringing to them and see if they can flash successfully with their software. I've had to do this a couple of times over the years!
Hope this helps!
Chris