At times, Stanley plays along with Michael's comments for his own benefit, in Performance Review, Stanley tells Michael that he learned about women' on the ghetto' in order to secure a raise.
He learned about women'on the ghetto'. This was to secure a raise. This is what Stanley tells Michael at times.