If I went to driving school while that caused me to miss Salah then will it be a sin every time I drive because I learned it at the cost of missing prayers?
Bismihi ta'ala
No, it would not be considered a sin everytime you drive your car.
In the incident of you missing out on your prayer intentionally, repent for that, if you have not already done so, do the prayer you missed out on (as qadha`), and focus more on prioritising your prayers, in shaa Allah.
And Allah knows best