You do you, but there can be arsenic in rice, which is proven to cause cancer, so in other areas of the world, washing the rice is important.
Unfortunately washing rice doesn’t remove the arsenic[0], cooking it with a lot of water like pasta does that. You might still want to wash the rice to remove other contaminants, depending on the rice you use.