This expression suggests that above all else, one should be true to one’s own beliefs, morals, and principles. If one fails in this, then they are failing themselves.