Contradiction with Proverbs 14:13
This verse suggests that even in laughter the heart may be sorrowful, while Job 2:12 describes Job's friends expressing their grief openly and audibly.
Proverbs 14:13: Even in laughter the heart is sorrowful; and the end of that mirth [is] heaviness.
Contradiction with Ecclesiastes 7:2
This verse states that it is better to go to the house of mourning, which may imply embracing visible grief rather than hiding it, similar to the actions in Job 2:12, thus not directly contradicting but offering a contradictory view on the preferable conduct regarding sorrow.
Ecclesiastes 7:2: [It is] better to go to the house of mourning, than to go to the house of feasting: for that [is] the end of all men; and the living will lay [it] to his heart.