the man bowed deeply to them both , made his farewells to the lady , then bade the sage and peter a hearty goodbye , giving the latter a sad , knowing look before he caught his horse and rode towards home .