John Lewis, the civil rights leader and Democratic congressman from Georgia, said Thursday that he would not attend opening of the Mississippi Civil Rights Museum this weekend because President Trump would be there.

In a joint statement, Mr. Lewis and Representative Bennie Thompson of Mississippi said Mr. Trump’s presence at the event would be disrespectful to the memory of those who participated in the struggle for civil rights, particularly in light of his “disparaging comments about women, the disabled, immigrants and National Football League players.”

They encouraged people to visit the museum “after President Trump departs.”

“President Trump’s attendance and his hurtful policies are an insult to the people portrayed in this civil rights museum,” the statement said. “The struggles represented in this museum exemplify the truth of what really happened in Mississippi.”

In an interview with The Atlanta Journal-Constitution, Mr. Lewis said that he might attend the event in Jackson, Miss., if Mr. Trump did not.