Q: what should one focus on first when learning to write music... rhythm, melody, harmony, or lyrics? could any one of those elements alone create a good song?
A: just try anything and see if it works, and then try something else. don't be afraid to try things that are none of the things you mentioned