I uploaded a Wordpress site online but it is taking time to configure the server. In the meantime I deleted the table "users" so hackers cant access the site/backend, until I can secure the site properly at a future date. Will this work or can the site still be hacked through site.com/wp-login?
to answer your question yes without the user table no one will be able to login because the database holds no login information.
you may of been better off securing your /wp-login from brute fore attacks in a different way https://wordpress.org/support/article/brute-force-attacks/
i.e limiting the ip access to the login area