Yes, he uses ring when necessary, but the ring exerts a pull and a temptation on him (and everyone else) that will lead to abuse which is why Gandalf refuses it, and why only the humblest creatures (hobbits) were suited to carry out of the task of destroying it. Gandalf’s character wouldn’t have survived the task without “becoming like the dark lord himself” as he admits.