Is it true that does a beach have to be by the ocean based on the following text?

Although the seashore is most commonly associated with the word beach, beaches are also found by lakes and alongside large rivers.
no