The Democratic-led House approved the measure by a bipartisan 357-22 vote, with the only “no” votes coming from Republicans. It now goes to the Republican-majority Senate, where its future is unclear, although a similar measure has been introduced there.

At a news conference before the vote, Democratic lawmakers said they were alarmed by reports of the Republican president’s low regard for the North Atlantic Treaty Organization, a 70-year-old military alliance that joins the United States and Canada with allies in Europe.