She greeted the fainting Princess most kindly , gave her an excellent supper , and after a long night 's rest in a delightful bed told her that after many troubles she should finally attain her desire .