Because he was taught to write with his right hand, although he was left-handed, his writing was barely readable.
The sentence highlights a situation where someone's natural inclination (left-handedness) conflicted with their learned skill (writing with right hand). This resulted in poor handwriting.