The House on Saturday commended the Boy Scouts and condemned legal efforts to limit government ties to the group because of its requirement that members believe in God.
A nonbinding resolution, passed by a 391-3 vote, recognized the 3.2 million-member organization for its public service efforts.
But the main thrust of the debate was what Rep. James Sensenbrenner, R-Wis., said were the "strident legal attacks" on the group.
The Pentagon agreed last week to tell U.S. military bases around the world not to directly sponsor Boy Scout troops. The warning resulted from legal challenges to government relations with a group that bans openly gay leaders and compels members to swear an oath of duty to God.
The American Civil Liberties Union and others say that direct government sponsorship of such a program amounts to discrimination.