You know, halfway through my first tour of sea duty, we had a change of command and got a new skipper. The one we had previously was a great man, he spent a couple of hours of his day walking around the ship and asking various shops how things were. And, when we did carrier hits (underway replenishments), he would even put on a pair of coveralls and help out humping boxes, because we would spend approx. 24 hours staging all the cargo as they required so much material. And, because he actually cared about the crew, we had a very high morale, and the ship won several awards for battle readiness.
Then, we got Capt. D. He was a mess in more ways than one. You would never see him anywhere on the ship other than the bridge, wardroom or his stateroom, he had little to no contact with the crew, preferring to communicate only with the officers. And, under his leadership, morale sucked. People didn't want to do their jobs, because they felt it just didn't matter because the CO seemed to not really care about how things went. He finally was finally removed from command for running over a buoy. It was foggy, and the CO had a disagreement on the course selection, so he went over and took the helm from the person on watch. About 3 min later, he ran over the buoy. Made a hell of a racket, and tore a couple of big chunks out of the prop, putting us in the shipyard for a couple of months for repairs.
Yes, leadership matters. A good leader can make a place a joy to work at, whereas a lousy leader can impact morale in a very negative way, resulting in the workplace performing poorly.
We can see what kind of leader Trump is, simply by looking at all the chaos in the WH.