State taxes can not be used to pay Federal taxes, just as Federal taxes can not be used to pay state taxes, for the current year. These taxes are handled by separate agencies:
Can I pay my state taxes from my federal refund?
https://ttlc.intuit.com/replies/3984737
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"