That is not the question, no one claimed they are not equal, it was rather misplaced question of where did the rest of the supply voltage go and that is R1.Here is my answer.
1) Remove the diode from the circuit. Calculate the voltage across R2 as per voltage divider formula.
Knowing this voltage, you can obtain an estimate of the expected voltage when the diode is inserted (whether forward or reverse biased). Since current is expected to flow through the diode one would expect the voltage across the diode and R2 to be lower than that calculated in (1).
The voltage across the resistor is equal to the voltage across the diode. Period. End of argument.
2) There are three ways to determine the voltage across the diode.
#1 - You can apply the diode equation and solve the equation for diode current and voltage.
#2 - You can apply a graphical solution (which relies on the diode equation or some estimate of the diode I-V characteristic curve).
#3 - You can make an assumption that the diode voltage has reached the diode forward turn on voltage and assume an approximate forward voltage of about 0.7V in which case the voltage across R2 is 0.7V.