The men demonstrated repentance in two ways. First, they "gave their hand," which commentators explain was a solemn, binding pledge to divorce their foreign wives. Second, acknowledging their guilt, they offered a ram as a trespass offering. This shows that true repentance involves both practical, corrective action and seeking spiritual atonement before God.