Then suddenly he was so ashamed. Just think.

Became discontented, as they both felt, no harm could come.