Lift the vehicle with a jackstand so the weight is not on the wheel on the side you’re suspecting has bad ball joints. Don’t loosen any nuts.
Put some pressure on the top of the wheel and see if there’s movement. If there’s movement, that’s an indication that the ball joints are worn out and need replacement.
Amazon and the Amazon logo are trademarks of Amazon.com, Inc, or its affiliates.