Hmm... sounds to me like the person who said this to you is unhappy with their career choices and projecting it on you. If you love your job and you enjoy it, stay in it. Especially now, when there are limited positions and unsafe conditions because...