How to persuade someone to not pursue a PhD just because they failed to find a job?
How about introducing your friend to PhD comics. At least someone who has read those and still goes for a PhD cannot say they haven't be warned.