rob (someone or something) of (something)
1. To steal something from someone or something. He installed a computer virus that robs the company of tiny amounts of money every single time a bank transaction is carried out. The mugger robbed me of my passport and all my cash, but thankfully he ran off before he got my phone.
2. To deprive something from someone or something. He really robbed me of my dignity with the way he chastised me in front of everyone. The trees' leaves have become so large and numerous that they are actually robbing the vegetation on the jungle floor of precious sunlight.
rob someone of something
to deprive someone of something, not necessarily by theft. What you have done has robbed me of my dignity! If you do that, you will rob yourself of your future.
1. To deprive someone of something by stealing it: The thief robbed us of our money. I was robbed of my car.
2. To deprive something or someone of something, to injurious effect: This parasite robs trees of sap. The malicious rumor robbed me of my professional standing.