Two conditions when prediction matches with the reality are True Positive and True Negative.
The confusion matrix has four outcomes: TP, TN, FP, FN. Only TP (predicted positive, actually positive) and TN (predicted negative, actually negative) are cases where prediction matches reality. FP and FN are errors.