Check element by id and its text in single statement

@here I am trying to check the button and verifying its text by
(By.xpath("//*[@id='skip_btn'] and [@text='Skip']")).click();
is this a correct way to check?

The xpath locator above does not look right to me. Try //*[@id="skip_btn" and @text="Skip"] instead