The correct answer is to love the lord your God, to walk in obedience to him, to keep his commands, to hold fast to him and to serve him with all your heart and with all your soul
He made the farewell address because he was already old and was aware that he can't be the leader that they want him to be. This address was delivered shortly before his death. This is described in the bible in one of the books.