Then the youth rejoiced greatly , for now he felt that his life was safe ; but he grew very sad when he thought of the beautiful Princess , and that he would never see her again if he left the country .