I don't believe humanity will go extinct but rather have a serious vetting process as to avoiding degenerative traits. As we adapt to survive often nature eventually throws out or dials down defective traits that are consistently proven overtime to undermine our overall progression such as simps, and feminists. Depopulation is already occurring by people's own choice alone, and natural events such as the carona virus will exacerbate it all even further, my only suggestion would be take future generations into consideration however you go about wether you happen to have kids or mentor a young protege in whatever craft you master. When/if it comes time to rebuild pass on what you have learned to other's. Immortality takes many forms weather or not you have kids😉