Off-topic now, sorry, and punishing sims who have done something we don't like to teach them a lesson is not my specialty, but there are subtle ways to do that without killing or deleting them (if you can stand to have them still be in your game).
Give them the Dislikes Children trait and a career in Education.
Give them the Can't Stand Art and Hates the Outdoors traits, and make them a Street Artist.
That kind of thing. In this example though, the game will just spawn another sim in the service pool to be a robber so I would also suggest acquiring a burglar alarm and placing it just outside of the main entrance if you haven't gotten around to that. :)