That's not the advice you gave. In fact you gave no advice, you simply proclaimed your superiority when it comes to past decision making, in that you only worked for companies that make money.
Your reply was intentionally snarky at best; obnoxiously insulting, demeaning and entirely non-useful at worst.