Is sacrificing ourselves worth advocating utilitarianism principles

Should we sacrifice our own interest for the greater good?