Suppose $X$ is connected and locally path connected, then $X$ is path connected. Proof BWOC, let $Y$ is path component poper subset of $X$. Since $X$ is locally path connected then $Y$ is open and $X-Y$ is open. Then $Y$ is closed which is contradiction because $X$ is connected.
My question how can I prove it directly from the definition without depending on theorem.
I recommend looking up some of the equivalent definitions of connectedness, it is a useful exercise to prove the equivalences:
In particular characterization (6) is what you're looking for.
If I recall of the many definitions I found this equivalence the hardest to prove (one direction is straight-forward, the other a little tricky), it helped to draw a picture. Anyways, given for now the equivalence, the proof you're asking about is (hopefully) almost immediate. To begin, fix two points in X. Around each point in X you can take a path connected open set, this forms an open cover of X, which admits a finite subcover with the property that "adjacent" open sets are non-empty and still path-connected so you can glue together a path.