Jesus was talking about the spirit of mourning. When the heart is broken and life is shattered the spirit of mourning settles upon a person. The comfort that He speaks of is the infilling of the HolySpirit, who is the Comforter, that He would make possible.