Should I tell a coworkers not to thank the president of the company because he didn't do anything
Why do you think that the president didn't do anything? CEO usually have a tough job.
Because it's a useless position.
I think you should keep your feelings about the president of the company to yourself, and not tell your coworkers to not thank him. People are supposed to respect their boss, and thanking him is a good way of showing respect. There's no harm in thanking him, and by not thanking him you might be risking your job.
I can tell my coworkers not to thank him. His job is meaningless.
I think the fact that you have a job that can feed your family is the result of having this CEO. A CEO's job isn't as cookie-cutter as you think. It takes more work than we can ever imagine because we aren't CEOs of anything, so we shouldn't pass judgment on something we don't understand.