If you are good at your job and you are treated as trash then its simple: move elsewhere.
As a former project in chief, i found that the worst employees was the first one to complain for everything. However, i never fired somebody, i just let them go ;-) (a fancy way to say the same)