To motivate talent to stay, companies should build tech employee's retention capabilities. Career growth maps, training programs, mentorship processes and other incentives e.g bonus programs, health insurance, learning compensations, concierge services. It requires focus shifts and significant investment that not every company could afford and manage to implement successfully. It is a domain that requires significant expertise. Of course, it is better to concentrate on core business and rely on partners to handle these parts.