You mean you invested an Altcoin that is already dead by now?
Not all Altcoins are dying out but some of them are having a hard time getting into the competition including your Altcoin so investing in Altcoin requires luck and also there are very stable Altcoin you can invest while it's not too late.
Bitcoin price is very high but it's not the reason that some Altcoin are murdered. Together with Bitcoin, Bitcoin Cash, Eth, ripple and other top Altcoins' value are also increased.
Investing
never requires luck. Gambling is a game of luck. Investing is a game of careful analysis and risk mitigation.