The teaching is not a contradicition at all.
Just like Matt 23:37:
"Jerusalem, Jerusalem, who kills the prophets and stones those who are sent to her! How often I wanted to gather your children together, the way a hen gathers her chicks under her wings, and you were unwilling."
That is a...