He is God. We are His creation. He can do with us whatever He pleases in order to bring about His good and righteous plan. His desires and plans take precedence over ours. That’s what it means for God to be God, and that’s what it means for us to be servants of the King. He carries out His will and uses us to do it.