Actually, that's not bad advice - assuming you'd actually care for a dog (and be able to take care of it). A dog will provide you with comfort, friendship and unwavering loyalty beyond anything any human can or will. At the very least it will:
* make you more satisfied with your life and thus
* make you less desperate for company (believe it or not, desperation is not sexy)
* get you off your ass.
As a bonus it might
* provide the opportunity to meet other people
- some of which are of the opposite gender
- all of which you share a common interest (dogs)
That last point is not irrelevant, because at the very least you'll have some place to start a conversation.
Also, in a humorous side note: http://www.news.com.au/dailytelegraph/story/0,22049,24112087-5013605,00.html