#Why does Yahweh command Jeremiah not to go into houses where people are mourning?

He commands Jeremiah because both the great people and the small people will die, but no one will mourn for them. [16:5-6]