Whether this was just or no, See Poole on "Exodus 12:36".
Related Commentaries of Exodus 3:22
Exodus 3:22
22 But every woman shall borrow of her neighbour, and of her that sojourneth in her house, jewels of silver, and jewels of gold, and raiment: and ye shall put them upon your sons, and upon your daughters; and ye shall spoil the Egyptians.b