Fact: John Quincy Adams was the only one who didn’t actually have the most votes. He was chosen by the House of Representatives, as neither him or Jackson gained a majority.
you must mean electoral votes. The election of the US president is done through the electoral college, and yes, the election of 1824 resulted in no individual candidate receiving a majority of the electoral votes. The constitution requires congress to choose a president out of all the candidates who received any electoral vote(s), and the US congress in 1825 chose John Quincy Adams.