I think what you are asking is how to extract text contained in the element, not child elements or text contained in child elements.
You can use .findall(text=True, recursive=False)
(see Only extracting text from this element, not its children).
>>> from bs4 import BeautifulSoup
>>> soup=BeautifulSoup(
... """<div class="class123">
... <div><strong>title123</strong>
... <span style="something123">something else</span>
... </div>
...
... I want to parse this, how can do that?
... </div>""", 'lxml')
>>>
>>> print(soup.find("div", class_="class123").find_all(text=True, recursive=False))
['\n', '\n\n I want to parse this, how can do that?\n']
If there are multiple matching <div>
elements you'll have to loop through them
>>> for result in soup.find_all("div", class_="class123"):
... print(result.find_all(text=True, recursive=False))
...
['\n', '\n\n I want to parse this, how can do that?\n']
Lastly, you can tidy up the result to return a string
>>> print(" ".join([s.strip() for s in \
... soup.find("div", class_="class123").find_all(text=True, recursive=False) \
... ]).strip())
I want to parse this, how can do that?