One should strictly avoid stupid people and if one is forced to stay in their company, one should not emulate them, on the contrary one should strive to bring a change in them.
Lack of faith, treachery, arguments and animosity only breed malevolence. It is in the best interest of all to avoid this and tread on the path of progress.
During times of war it is the responsibility of every citizen to inspire the valiant to engage them in war. One should avoid waiting for invitation. One should always be ready to strive for welfare of others. This is the path of truth itself.
Even the learned ones avoid people who are lazy because they know their efforts will go futile.
Good people avoid the company of bad people.