If we want to retain effective teaches, we should increase teacher compensation—but we need to do it strategically.