No More Learning

Does the poet mean that           to queen and country comes
before private affection?