*Thereby : así de este modo
Robert sabotaged the project. thereby ensuring it would fail
When we want to emphasize an event because it is new or weird we can use negative or restrictive adverbials followed by inverted word order: negative / restrictive adverbial + auxiliary + subject + verb
Meaning: If you "might as well do something" or "may as well do something", it means there are no reasons not to do it (also when one makes a suggestion that one is not entirely enthusiastic about)