Another way to say "a king is for continuing a dynasty." is "A king wants to have a son who can become king after him."