Confucius said this quote

The Master said of Gong Yechang, “He is marriageable. Although he was once imprisoned and branded as a criminal, he was in fact innocent of any crime.” The Master gave him his daughter in marriage.(Analects 5.1)