George Harrison got sued for “My Sweet Lord.” They say he ripped off “He’s So Fine.” Harrison actually played both songs in court on a acoustic guitar. Harrison stated “it was the same chords but not the same song.” I believe he lost the case. Years ago Elvis Costello said “All musicians are magpies and thieves.” That about sums it up.
Harrison argued there were only so many notes and chords. He gave other examples.
A case if chasing the money. Had “My Sweet Lord” bombed they wouldn’t have sued.