The king, your father is dying, and a war between your kingdom and other kingdom continues in the war which in turn consumes your soldiers, yes, a little more and your kingdom will be conquered.
You as the daughter of the king, the next ruler of your kingdom you know you have to do something about it. you can't rely on your father anymore, and you cant just trust anyone to sit on the throne just because a lot of people are against a female queen sitting on the throne just because no female queen can revive her own kingdom . You want to prove those people wrong, and you also want that while your father is still alive you can show him that you are capable of being an heir.
One step to make all the people of your kingdom believe that you're their queen, you decided to visit the other kingdom that's having a war with your kingdom. You know it's dangerous, traveling only with your soldier trusted men with you to your enemy's hideout. But what's wrong if you just try, you plan on talking with the kind of that kingdom, to make a deal and stop the war.
But everything felt like a joke when the king states his fulfillment as he expresses it seriously.
"Marry me, then I'll stop the war."