How it works at the table
A value bet is a bet you want called. The test is a single question: if my opponent calls, am I ahead of the hands that would call? That is a question about their range, not about how strong your hand feels. Top pair is a clear value bet against a range full of second pairs and draws, and a clear mistake against a range that only continues with two pair or better.