There is an old programming axiom that says if you put in garbage data or garbage code, you will get garbage output.
We too are influenced by what we take in and it impacts what we put out.
Be careful of what you take in, whether it is what you watch on TV, what you read, who you listen to, what you eat, your thoughts, opinions of others.
All of these are inputs that ultimately impact what comes out of you by way of work, attitude, thoughts and opinions.
Manage what you take in.