New International Version (NIV)
6 Children, obey your parents in the Lord, for this is right. 2 “Honor your father and mother”—which is the first commandment with a promise— 3 “so that it may go well with you and that you may enjoy long life on the earth.” What does it refer to?
IMO, here "it" = "everything"
Please be aware that I'm neither a native English speaker nor a teacher.