How to make new players spawn EXACTLY on one block, not anywhere around it

Solution 1:

I did /spawnpoint @a then, /setworldspawn and then, /gamerule spawnRadius

I did everything together because I needed it to work.