No. Even if the evidence against you is overwhelming, a strong defense could get you a lighter sentence. Even if you are guilty of a crime, the prosecutor might charge you with a crime that is more serious than the crime you actually committed. You would then be required to defend yourself against that charge or plea bargain it down to a lesser offense.