This quote means that working hard together strengthens relationships. When people put effort into a task, it often brings them closer together. Working together towards a common goal and sharing successes and failures creates strong bonds of friendship that can last a lifetime.