Wobbly wheel/hub even when I tightened the cones
I ran into this issue on my bike recently. It could be a bent axle, damage on the inside of the hub, or both. If the axle is true, you will need to replace the hub or a whole new wheel. Good news, a new MTB wheel is relatively cheap, on the order of about $50-60.