Firstly, the crimes you've referenced are not only extreme, but they are irrelevant to the comment I made. Women commit less violent crime than men, and when they do, they're obviously not given lesser sentences for mitigating circumstances like family when they are an actual threat to the people around them. I'm mainly referring to petty crime, which is what the majority of women are convicted for.
Also, of course context matters. Context is what differentiates between murder and manslaughter. Context is what differentiates between assault and self defence. Context is what differentiates between someone stealing because they want a new piece of jewellery, and someone stealing because they need to feed their children. To claim any of those are even remotely similar because "context doesn't matter" is just unrealistic.