Nets: They get the number #13 pick and get into the 2024 draft. They may have 3 first round picks next year, so they can give up one that will probably be in the high teens or twenty's.
Kings: They get a good defensive player who can shoot the 3 as well, he's in a good contract too. They do lose the #13 pick of this year, however they now have first round pick next year, which they didn't before.