While the overall effect of education is to reduce crime there are some interesting cases where it works the other way:
Conversely, there is also some evidence that education can also increase the earnings from crime as certain skills acquired in school may be inappropriately used for criminal activities. Levitt and Lochner (2001) find that males with higher scores on mechanical information tests had increased offence rates. Lochner (2004) also estimates that across cohorts, increases in average education are associated with 11% increase in white-collar arrest rates (although this estimated effect is not statistically significant).
Sam Bankman-Fried, for example, probably learned a few thangs in school that he applied to his criminal career!