Joseph Thompson's attendance at Susanna Smith's funeral was a decision made after multiple considerations, especially out of respect for his father. That's why he made the trip.
However, the actions of the Smith Family greatly displeased him. Despite his identity as Susanna Smith's son and fulfilling the expected duties, the behavior of some Smith relatives became increasingly intolerable.
Joseph felt his patience had never been tested like this before. He kept telling himself this was his last visit to the Smith Family; after Susanna's funeral, the Thompsons and the Smiths probably wouldn't need to interact ever again.
Therefore, he endured many things as long as they weren't too extreme.
After all, a moment of patience can result in a calm sea, and giving in a little can lead to boundless freedom. He still understood this philosophy.