Two sentences to be considered are:
- It's not bad if you rob but are not robbed.
- It's not bad if you rob but not be robbed.
To me, they both mean the same and the latter one seems a bit more formal.
What's the opinion of a native speaker?
Thanks in advance.