@kanade_alter the king needs a male heir. Even the most useless male son is still a male son. So he keeps him as a Reserve until he gets a "proper" heir, just in case he only gets daughters from the MCs birth on.
And they kill him bcs as the first born he would be able to dispute his younger...