By the later seasons TNG gets pretty great at developing all the character’s relationships to each other. The characters have such a strong feeling of connection by the end. DS9 is the same but even more impressive because it’s a much bigger cast.