Question: what is the difference between crime and guilt?
Answer: Legal guilt is entirely externally defined by the state, or more generally a "court of law". Being "guilty" of a criminal offense means that one has committed a violation of criminal law, or performed all the elements of the offense set out by a criminal statute.