What is x/(x-5)-3=5/(x-5)

I came up with 5 but that is undefined

x/(x-5)-3=5/(x-5)

x/(x-5)-5/(x-5)=3
(x-5)/(x-5) = 3
1 = 3

not true for any value of x.