The third position oxygen sensor on bank 2 (after the secondary catalytic converter) is switching between rich and lean readings too slowly. This sensor is used to monitor catalytic converter efficiency.
Find certified mechanics near you who can diagnose and repair P0165.
For informational purposes only. Diagnostic trouble codes are starting points for diagnosis, not definitive answers. Always consult a certified mechanic for proper diagnosis and repair. Estimated costs vary by vehicle, location, and shop rates.