Why Jesus Really Came To The Earth

Where in Islam it is written that do whatever you want because Muhammad (PBUH) is there for your salvation???But the majority of christians believe that Jesus(PBUH) has given his life for their sins..