望梅止渴

Etymology
From the tale of the warlord deceiving his severely dehydrated troops with the promise of a forest of plums not far ahead.

Idiom

 * 1) to console oneself with illusions