Your statistics are wildly off:
UK Homicide rate 2018: 1.20/100k US Homicide rate 2018: 4.96/100k
And making something illegal is not the key factor in comparing countries: UK Drug Overdose Deaths 2020: 7.6/100k. US Drug Overdose Deaths 2020: 28.1/100k.