WASHINGTON — The House, brushing aside Democratic voices of dissent over American policy in the Middle East, on Tuesday overwhelmingly passed a bipartisan resolution condemning the boycott-Israel movement as one that “promotes principles of collective guilt, mass punishment and group isolation, which are destructive of prospects for progress towards peace.”

The 398-to-17 vote, with five members voting present, came after a debate that was equally lopsided; no one in either party spoke against the measure. The House’s two most vocal backers of the boycott movement — Representatives Rashida Tlaib of Michigan and Ilhan Omar of Minnesota, freshman Democrats and the first two Muslim women in Congress — did not participate in the floor debate.

However, earlier in the day, Ms. Tlaib, who is Palestinian-American, delivered an impassioned speech in defense of the boycott movement. She branded Israel’s policies toward Palestinians “racist” and invoked American boycotts of Nazi Germany, among others, as an example of what she described as a legitimate economic protest to advance human rights around the world.

“I stand before you as the daughter of Palestinian immigrants, parents who experienced being stripped of their human rights, the right to freedom of travel, equal treatment,” Ms. Tlaib said. “So I can’t stand by and watch this attack on our freedom of speech and the right to boycott the racist policies of the government and the state of Israel.”