Ideal v/s Real

He – hey! How did your entrance exam go?

She – Not good.

He – It is okay! You can always marry a rich guy for sustenance.

She – Was it a joke? Was it supposed to be funny?