Anthony Joshua believes his boxing career has suffered because he has been distracted by things outside of the sport in recent years.