Obvioulsy ,learning at first is much more important than earning. When a trader focus on trade then he must able to make profit.
Most of beginners concentrate on earning so they lose their deposits . So i suggest to beginner at first learn forex trade and practice demo trade at least two month . Keep in mind your experience and knowledge help you to gain pips in forex trade