When investing in yourself is wise