That statement is false
Knowing behavior usually refers to behavioral pattern in which you fully know on the outcome that it might cost you but you decide to do it anyway.
On the case above, it seems that your carelessness is the one that caused the accident and you're not expecting the current outcome at all.