The economy is tough and you have to do what you have to do in order to survive. But if you're living in Brazil, or anywhere else for that matter, you should never be trying to steal from other people because you never know who else is watching.

In this shocking video a man on a motorcycle, who just happened to have a camera on his helmet, was zipping down the street before slowing down at an intersection. It's at that time that a pair of thieves on another motorcycle pull up next to him with a gun pointed at him and order him to give up his bike.

The guy, not wanting a fight, gives up the bike, a perfect situation for the would be thief. But before he has a chance to get away a man on the other side of the road gets out of his car and shoots the thief right in the middle of the street.

The good Samaritan who shot the thief turned out to be an undercover cop who just happened to be in the right place at the right time.

The user who posted the video to YouTube claims that the thief later died of his injuries.

Check out the video below, but be warned, this is uncensored and probably shouldn't be viewed by small children or people with weak stomachs. IT CONTAINS A MAN BEING SHOT (1:00 minute mark).