What is the meaning of [one hand for yourself and one for the ship]

Do not neglect your own safety, security, or well-being for the sake of your work or your employers; also used literally as a safety maxim for those working at sea