When my husband got congestive heart failure, and then a heart transplant, the cardiologists and transplant team all said it was not from his fairly heavy steroid use, and it was probably from a virus. We debated about whether they were just saying that to make him feel better, but I don't think they would lie about that. They did try to discourage him from further use though.
However. there are some medical research studies done about how testosterone can actually be really beneficial for (male) patients with heart failure. We were considering that route if he hadn't had to have the heart transplant.