That's the dilemma.
Defecting always pays more. But if you both defect, you both get 0 instead of +2.
Opponent cooperates
Opponent defects
You cooperate
+2Opponent +2
−1Opponent +3
You defect
+3Opponent −1
0Opponent 0
Trust pays, but only if both sides trust.