We know that the general formula for the representation of an alcohol is $$\ce{C_nH_{2n+2}O}$$.
Where $n$ refers to the number of carbon atoms in the chain.
Lets put down the values of molecular masses of $\ce{C}$, $\ce{H}$ and $\ce{O}$.
We get,
$$12n + (2n+2) + 16$$
which can be rewritten as,
$$14n + 18$$
Thus the molecular mass given to us should satisfy a value of $n$ since it is an alcohol.
$$14n + 18=158$$
Solve and you will get $$n=10$$ and the formula is $\ce{C10H22O}$. Note that this formula does not uniquely specify one particular alcohol, as there are multiple isomers with the same molecular mass.
Let's see where you went wrong. You divided the value of molecular mass given with the mass of ethanol, which could have been correct had alcohols been made up of repeating units of the same group$$\ce{C2H5OH}$$.
But that is not the case. The molecular masses of different alcohols are not multiples of any integer. For example, methanol, ethanol, and propanol have masses of 32, 46 and 60 respectively.
Thus the only way to get your answer would be to equate the molecular mass with the general molecular mass for an alcohol having $n$ carbon atoms.