I found this formula written on a blackboard entering a math class

$$E[X|Y]= \frac{E[XY]Y}{E[Y^2]} $$

At first glance, this seemed too good to be true to me, but it could be due to my ignorance.

I have not seen this before and was wondering if this was true or under which conditions is it true?