Should I buy car involved in accident more than $3500?

I’m planning to buy a used car. It’s a 2012 Mitsubishi RVR 147000km from Mitsubishi dealership. From carfax history, I can see the vehicle has been involved in 2 accidents. First time was June 5 2018 Right front centre: $3871.86 Second time was Mar 9 2018 Front centre: $3527.08

The price of the car is $9998. Is it worth it? I’m new to car so I need more advice, especially accident cost meaning. Thank you in advance!