Baldur's Gate 2 and Planescape Torment were masterpieces regarding the story and character/world building.
BG2 wasn't ANYWHERE near the same league of Planescape: Torment when it comes to narrative and writing.
It was probably a better game overall, when you pile all its system to the comparison, but when it comes to dialogues, character writing, narrative and what else they are barely even competing in the same discipline.
Torment was arguably among the top two-three examples of writing ever seen in a videogame, regardless of the genre.
BG1 and 2 make for a barely serviceable fantasy romp with cartoony characters, cheap tropes at every turn and silly humor all over the place.