This is true in the case of SSD, but it is a myth in regards to SSI. Supplemental Security Income is intended to be something like a welfare program, helping only the poorest of disabled workers with the basic necessities of life. For this reason, SSI does not pay out benefits to people who have assets over the specified limits.
In regards to SSDI eligibility, you need to have a certain number of credits that are earned by working. You must have enough earnings in 20 out of 40 quarters to be eligible for SSDI benefits.