That's not how "overpaid" works.
i
I'll try to enlighten your understanding of how over-payment may work in Barnes context.
The Kings are paying $24MM dollars this season for Barnes, who is their highest salaried player on the team. A highest paid player should be statistically leading the team, if not in points, then in other statistics, none of which Barnes is leading. This is paying an excess for what Barnes is actually producing as a said highest paid player on the Kings.
Let's make a comparative example to look at "overpaying" vs "underpaying " and corresponding value to help understand what's happening with overpayment. The Kings Bjelica is making $7MM per season and has comparable statistics to Barnes. By comparable we mean very similar. So Bjelica's salary is less than 1/3rd Barnes salary at similar production/performance. That's what we call good value vs poor value. Bjelica is being paid less for his actual usefuless, while Barnes more.
There are 2 ways you could look at overpaying for Barnes as an actionable problem and solution - 1) you could view it as what does Barnes have to do to give a general consensus that he is earning his 24MM salary within the organization - or - 2) what should the Kings organization be doing to lower his pay to fit Barnes sagging performance, or if unable, looking to see who will trade for him.
What's most egregious about the overpayment is that its at Barnes 1st F&*&KN year of his 4-year contract, structured to be his BEST year, pay-wise.