means that
mismanagement or corruption at the top of an organisation can undermine the performance and conduct of the entire organisation.
also
The fish always stinks from the head downwards
For example, leadership is the root cause of an organizations failure and demise. This is a situation where “A fish rots from the head down” applies.