Never go grocery shopping when you are hungry. You will grab the wrong things.
The same goes for life;
Never go for a relationship when you are feeling lonely, you might encounter the wrong person. Think about it.
When you are desperate, you might grab anything you want, not what you need.