How to compare a field with the value of another field from a specific document

I believe the $expr operator would work for this case.