I don't see where he did anything wrong.
It's hard to tell what was happening before he went off track but he is steering left to get back on track but his rear end is sliding towards the tire barrier
then he would have to turn the wheel to the right to counter the slide

unfortunately looks like he was carrying too much speed and still hit the barrier and flipped