A search for the decay of a heavy Higgs boson into the observed Higgs boson and another Higgs boson with a mass of is presented. The and bosons are required to decay into a pair of tau leptons and a pair of quarks, respectively. The search uses 137\,\text{fb}^{-1} of proton-proton collisions collected with the CMS detector at a center-of-mass energy of 13\,\text{TeV}. A mass range of 240 - 3000\,\text{GeV} for and 60 - 2800\,\text{GeV} for is covered. No signal has been observed. Therefore, model independent confidence level upper limits on the product of the production cross section and the branching fractions of the signal process are set ranging from 125\,\text{fb} (for m_{\text{H}}=240\,\text{GeV}) to 2.7\,\text{fb} (for m_{\text{H}}=3000\,\text{GeV}). These limits are compared to predictions of the next-to-minimal supersymmetric extension of the standard model.