Yes but BJJ instills confidence in you and your ability to handle a close range encounter.
With all the excitement and adrenaline, not only did every single student get 'stabbed' - many of them didn't notice until the exercise was over and the instructor pointed out the 'stab wounds'.
I'm not sure there's any amount of BJJ that would make me confident to grapple a guy who could have a concealed knife.