Viber keeps all the messages and devices in sync. Yes, if you send a message on a device, and then log on to another, then that message will automatically appear on that device, if there is the Internet connection. You can't prevent or disable this feature because this is the way the software works. To avoid it, don't log it on a secondary device where Viber is activated and running.